terminate – Talk
Jump to navigation
Jump to search
Worldeater (talk | contribs) mNo edit summary |
Worldeater (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
sleep 1; | sleep 1; | ||
hint "stopping"; | hint "stopping"; | ||
terminate "foobar"; // does NOT terminate | terminate "foobar"; // does NOT terminate anything | ||
</code> | </code> | ||
--[[User:Worldeater|Worldeater]] 15:45, 18 June 2009 (CEST) | --[[User:Worldeater|Worldeater]] 15:45, 18 June 2009 (CEST) |
Revision as of 14:45, 18 June 2009
Changed scriptName to scriptHandle since it suggested that following code should work:
_code = { scriptName "foobar"; waitUntil { player sideChat str time } };
[] spawn _code;
sleep 1;
hint "stopping";
terminate "foobar"; // does NOT terminate anything
--Worldeater 15:45, 18 June 2009 (CEST)