Difference between revisions of "ISKernel:WaitFor (Top-Level Object)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Description ==
 
 
 
== Forms ==
 
== Forms ==
 
*[[DataType:int|int]] '''WaitFor'''
 
*[[DataType:int|int]] '''WaitFor'''
Line 6: Line 4:
  
 
== Examples ==
 
== Examples ==
 
+
;Example code
 +
if !${WaitFor}
 +
  Call CastBuff "${CurrentBuff}"
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Top-Level Objects|LavishScript Top-Level Objects]]
 
*[[LavishScript:Top-Level Objects|LavishScript Top-Level Objects]]

Revision as of 02:40, 31 August 2005

Forms

The result of the last WaitFor command. 0 indicates a timeout occurred, and any value above 0 indicates the number of the argument containing the text found

Examples

Example code
if !${WaitFor}
  Call CastBuff "${CurrentBuff}"

See Also