Difference between revisions of "Property"
From Wiki
m |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|result|ro|Holds the value from the last [[event Property]] statement executed. Each line from a context menu in the client is delimited with a $ character, with denotes "new line". For example, a runebook will show up in game as:<tt> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{ro | + | |
| − | + | ||
| − | Holds the value from the last [[event Property]] statement executed. | + | |
| − | + | ||
| − | Each line from a context menu in the client is delimited with a $ character, with denotes "new line". For example, a runebook will show up in game as: | + | |
Runebook | Runebook | ||
| Line 13: | Line 5: | ||
Blessed | Blessed | ||
| − | in the #property variable, this would look like: RUNEBOOK$BLESSED | + | </tt>in the #property variable, this would look like: RUNEBOOK$BLESSED}} |
==== Example ==== | ==== Example ==== | ||
| Line 19: | Line 11: | ||
finditem * | finditem * | ||
| − | if # | + | if #FINDCNT > 0 |
{ | { | ||
event Property #findID | event Property #findID | ||
| Line 27: | Line 19: | ||
</pre> | </pre> | ||
| − | + | =See Also= | |
| − | { | + | {{result}} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 09:13, 13 September 2007
| ⇒ | Holds the value from the last event Property statement executed. Each line from a context menu in the client is delimited with a $ character, with denotes "new line". For example, a runebook will show up in game as:
Runebook Blessed in the #property variable, this would look like: RUNEBOOK$BLESSED |
Example
finditem *
if #FINDCNT > 0
{
event Property #findID
display ok #property
}
halt
See Also
Result
- Result variables hold values that are the direct by-product of actions taken by commands in a script. The exact details of what they contain is determined by the command and variable.
| #menuButton | ⇔ | Returns the name of the last clicked menu Button |
| #menuRes | ⇒ | Returns the result of the last menu Get or menu GetNum command |
| #sendHeader | ⇔ | Holds HTTP header information for the send command |
| #strRes | ⇔ | Returns the result of the last str command |
| #property | ⇒ | Returns the result of the last event Property command |
| #result | ⇔ | Returns the result of the last return command |
| #opts | ⇒ | Determines which EasyUO configuration options are active |
| #lpc | ⇔ | Determines the number of lines that are executed per cycle |