(→Task Examples: updated) |
(Added expedition) |
||
Line 74: | Line 74: | ||
As you can see, members can be indexed by name or #. # is member 1 through x. If name is used, and is not in task, NULL is returned (as expected). | As you can see, members can be indexed by name or #. # is member 1 through x. If name is used, and is not in task, NULL is returned (as expected). | ||
+ | |||
+ | ==Expedition== | ||
+ | |||
+ | '''Expedition''' Allows you to check various expedition information for your toon. | ||
+ | |||
+ | |||
+ | ==Expedition Members== | ||
+ | |||
+ | The TLO members are as follows: | ||
+ | |||
+ | * <font color="orange">string</font> <font class="highlight2">Name</font> The name of the expedition | ||
+ | * <font color="orange">Task</font> <font class="highlight2">Leader</font> The leader of the expedition | ||
+ | * <font color="orange">Task</font> <font class="highlight2">Max</font> The max number of characters allowed in the expedition | ||
+ | * <font color="orange">int</font> <font class="highlight2">Members</font> Current number of characters in the task | ||
+ | * <font color="orange">bool</font> <font class="highlight2">IsLeader</font> Are you the expedition leader? | ||
+ | * <font color="orange">To String</font> Same as Name | ||
+ | * <font color="orange">string</font> <font class="highlight2">Names[x]</font> The character name for character #x in list | ||
+ | * <font color="orange">int</font> <font class="highlight2">Names[charname]</font> The character number for the character charname in list | ||
+ | |||
+ | ==Expedition Examples== | ||
+ | |||
+ | * <font color="magenta">${Expedition.IsLeader}</font> <font color="DeepSkyBlue">Am I the expedition leader?</font> | ||
+ | * <font color="magenta">${Expedition.Name}</font> <font color="DeepSkyBlue">The expedition name</font> | ||
+ | * <font color="magenta">${Expedition.Members}</font> <font color="DeepSkyBlue"># of members in expedition</font> | ||
+ | * <font color="magenta">${Expedition.Max}</font> <font color="DeepSkyBlue">Max allowed members in the expedition</font> | ||
+ | * <font color="magenta">${Expedition.Names[2]}</font> <font color="DeepSkyBlue">Name of 2nd toon in expedition list</font> | ||
+ | * <font color="magenta">${Expedition.Names[Bubba]}</font> <font color="DeepSkyBlue">Character list index number of the expedition</font> | ||
+ | |||
==Availability== | ==Availability== | ||
This plugin is included with the MMOBugs Compile. | This plugin is included with the MMOBugs Compile. |
Revision as of 16:35, 21 December 2010
Plugin Info | |
---|---|
Name | MQ2MMOTLO |
Author | htw |
Link | Forum Link |
Commands | None |
Source Available | No |
Uses INI File | No |
Contents
Description
MQ2MMOTLO adds some new Top-Level Objects.
New Top-Level Objects
The following TLOs are added by this plugin:
Range
Range Allows you to check if a value is inside or between a specified upper or lower bounds. If the value falls with the specified parameters it will return TRUE, else it will return FALSE.
- Range :bool
Range Members
- Between[lower,upper:value]
- Inside[lower,upper:value]
Range Examples
${Range.Inside[10,90:${Me.PctHPs}]} ${Range.Between[80,100:${Me.PctEndurance}]} ${Range.Inside[10,90:${Target.PctHPs}]} ${Range.Between[10,100:${Target.Distance}]} Inside is like: (value>lower) && (value<upper) Between is like: (value>=lower) && (value<=upper)
Task
Task Allows you to check various task information for your toon.
Task Members
The TLO members are as follows:
- string Name The char name in task
- Task Leader The leader of the task
- Task Member[#|name] The task member # or name
- int Members Current number of characters in the task
- bool IsLeader Is the char the task leader?
- spawn Spawn Object for this player if available (must be in zone)
- To String Same as Name
- string Names[x] The task name for task #x in list
- int Names[taskname] The task number for task taskname in list
- int Total Current number of tasks in list
Task Examples
- ${Task.IsLeader} Am I the task leader?
- ${Task.Name} My name
- ${Task.Members} # of members in task
- ${Task.Member[3].Name} Name of 3rd task member
- ${Task.Member[2].IsLeader} Is 2nd task member task leader?
- ${Task.Member[Razza].IsLeader} Is Razza task leader?
- ${Task.Member[Razza].Spawn.Level} Razza's level (must be in zone)
- ${Task.Total} Total number of tasks in list
- ${Task.Names[2]} Name of 2nd task
- ${Task.Names[Fight or Flight]} Task list index number of the task 'Fight or Flight'
As you can see, members can be indexed by name or #. # is member 1 through x. If name is used, and is not in task, NULL is returned (as expected).
Expedition
Expedition Allows you to check various expedition information for your toon.
Expedition Members
The TLO members are as follows:
- string Name The name of the expedition
- Task Leader The leader of the expedition
- Task Max The max number of characters allowed in the expedition
- int Members Current number of characters in the task
- bool IsLeader Are you the expedition leader?
- To String Same as Name
- string Names[x] The character name for character #x in list
- int Names[charname] The character number for the character charname in list
Expedition Examples
- ${Expedition.IsLeader} Am I the expedition leader?
- ${Expedition.Name} The expedition name
- ${Expedition.Members} # of members in expedition
- ${Expedition.Max} Max allowed members in the expedition
- ${Expedition.Names[2]} Name of 2nd toon in expedition list
- ${Expedition.Names[Bubba]} Character list index number of the expedition
Availability
This plugin is included with the MMOBugs Compile.