Prevent code from running in a live channel
Use iguana.isTest() to allow code to run in the editor but not in the live channel
-- allow code to run in the editor but not in live if iguana.isTest() then -- place code here that you do not want to run in the live channel end
iguana.isTest() to test when code is running in the editor (test mode). This can be used to prevent test code from running when the channel is live.
How to use the snippet:
- Paste the desired code into your script