Eljorgejones (talk | contribs) |
Eljorgejones (talk | contribs) |
||
Line 13: | Line 13: | ||
==Description== | ==Description== | ||
− | <font class="highlight">MQ2RangeTLO</font> makes a new Top-Level Object called '''Range''' available. It allows you to check if a value is inside or between a specified upper or lower bounds. | + | <font class="highlight">MQ2RangeTLO</font> makes a new Top-Level Object called '''Range''' available. It 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. |
==Top-Level Object== | ==Top-Level Object== |
Revision as of 22:05, 18 July 2010
Plugin Info | |
---|---|
Name | MQ2RangeTLO |
Author | htw |
Link | Forum Link |
Commands | None |
Source Available | No |
Uses INI File | No |
Description
MQ2RangeTLO makes a new Top-Level Object called Range available. It 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.
Top-Level Object
- Range :bool
Members
- Between[lower,upper:value]
- Inside[lower,upper:value]
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)
Availability
This plugin is included with the MMOBugs Compile.