
how can unload a script? in the documentation not see nothing... I don't want some functions still there in the level. Exist something like unexec?

thanks!
Thank very much Paul, may be this is what I needIf you are looking to remove unused objects (in this case triggers) that were added through a script, just surround them with a simgroup, and then delete that simgroup when you are done with it.
Then if you need the triggers back, just re-execute the .cs script that includes them.
We use this to add/remove deck objects from our Starship Enterprise. We have each deck's contents stored in a separate .cs file, and a trigger on each deck that is tagged with which objects to load. When you go to that deck it will execute the relevant script and load in all the objects for that deck. Then when you leave the deck (exit the trigger) it deletes the simgroups that it just loaded. When you go back to the deck, we re-execute the .cs. And so on...