Set channel timeout

Verified
Added by iNTERFACEWARE

Set the timeout for the current script, the timeout has no effect while in the editor

Source Code
   -- set the channel timeout to 2 minutes (has no effect in the editor)
   iguana.setTimeout(120)
Description
Set the timeout for the current script, the timeout has no effect while in the editor
Usage Details

Use iguana.setTimeout() to set the timeout for the current script (the default is 5 minutes).

Note: The channel must be running for this code to work, it has no effect in the editor (test mode).

How to use the snippet:

  • Paste the name or guid code into your script