[JW Lua] Stopping a script

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Sep 10 15:54:28 CEST 2014


On 2014-09-10 15:49, Charles O. Lawrence wrote:

> While debugging a script, I want to stop the script after going so far.
> What is the best way to stop a script (Lua command)?  The script is not in a
> loop, just executing commands in-line.

return

You can also use a return value from the script, which will (if it's a 
number) be shown in the console.


Best regards,

Jari Williamsson





More information about the JWLua mailing list