Idle: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(#idle)
m (whitespace)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:idle}}
{{DISPLAYTITLE:idle}}
 
'''idle''' ''(shortened: '''i''')'' is a [[ZZT-OOP]] direction token which does not point in any direction. It can be used with [[go]] and [[try]] to make the object delay execution for one cycle, or with [[walk]] to stop the object from automatically walking.
'''idle''' ''(shortened: '''i''')'' is a ZZT-OOP direction token which does not point in any direction. It can be used with [[go]] and [[try]] to make the object delay execution for one cycle, or with [[walk]] to stop the object from automatically walking.


'''#idle''' is a command that is functionally identical to <code>/i</code> and <code>?i</code>. Since <code>#idle</code> is technically parsed as a command and not a direction, the abbreviated <code>#i</code> would not be considered a valid command.
'''#idle''' is a command that is functionally identical to <code>/i</code> and <code>?i</code>. Since <code>#idle</code> is technically parsed as a command and not a direction, the abbreviated <code>#i</code> would not be considered a valid command.


{{ZZT-OOP navbox}}
{{ZZT-OOP navbox}}

Latest revision as of 05:11, 11 February 2021

idle (shortened: i) is a ZZT-OOP direction token which does not point in any direction. It can be used with go and try to make the object delay execution for one cycle, or with walk to stop the object from automatically walking.

#idle is a command that is functionally identical to /i and ?i. Since #idle is technically parsed as a command and not a direction, the abbreviated #i would not be considered a valid command.