However, I am looking for a way to put limits on the code that users canI'm pretty sure Garry's Mod uses this approach and I don't think he's had any problems.
run. Namely, I don't want to see somebody kick something off with an
infinite loop and lock up the entire game.