Difference between revisions of "Exit"
From Wiki
m (rem version info) |
|||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
+ | == Related Commands == | ||
+ | {| style="background:gainsboro; color:black; border: 2px #aaa solid;" | ||
+ | | Width=250px align=center | [[call]] | ||
+ | |} | ||
{{footer}} | {{footer}} |
Revision as of 11:42, 3 August 2007
Synopsis
exit
Description
exit will stop the execution of the current script. If it's called from inside a script that was called using call it will resume execution from the line under the call statement. If the exit is used from the main script, the script will start over.
Example
event macro 1 0 %pet %command if %pet = all exit event macro 1 0 %pet follow me
Related Commands
call |
See also
Main Page | Documentation |