DisableScript
From the Scripting Manual
Data Type: Boolean Description: By default, this variable is false. If you set this variable to true (by doing "DisableScript := true;"), then your script will no longer receive event calls from the server. Eg, AppOnIdle, OnPlayerSpeak etc. NOTE: Any threads you have running in your script will continue to function so setting this variable back to false will re-enable your script.