Ok is there anyway I can toggle the popping on through a proc instead of when the world starts?
Just toggle the popping var on and off.
mob/verb/togglepop()
popping = !popping
world << "Popping is now [popping==TRUE?"on":"off"]."
I used two tricks here which can be good to know of. The !variable is a fast way to toggle between true and false (not true = false you know). The other line is a quick way to make an embedded if statement. A little harder to understand, but if the expression before the ? is true, the statement before the colon is executed, otherwise the one after.
/Andreas
You want to spawn off a proc that has a while loop that executes as long as you want it to. Make a global variable that tells whether it should continue executing. Then if you want to stop it, just set that variable to false. Try something like this: