Difference between revisions of "Property"

From Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
finditem *
 
finditem *
−
if #findKind <> -1
+
if #FINDCNT > 0
 
{
 
{
 
   event Property #findID
 
   event Property #findID
Line 19: Line 19:
  
 
</pre>
 
</pre>
−
{{footer}}
+
=See Also=
 +
{{result}}

Latest revision as of 10: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