Difference between revisions of "Property"

From Wiki
Jump to: navigation, search
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:<pre>
+
{{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>
  
 
Runebook
 
Runebook
Line 5: Line 5:
 
Blessed
 
Blessed
  
</pre>in the #property variable, this would look like: RUNEBOOK$BLESSED}}
+
</tt>in the #property variable, this would look like: RUNEBOOK$BLESSED}}
  
 
==== Example ====
 
==== Example ====

Revision as of 12:16, 26 August 2005

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 #findKind <> -1
{
  event Property #findID
  display ok #property
}
halt

See also

Main Page Documentation