ID:148875
 
I was wondering how to start up a proc that checked all turfs for a certain VAR, like

turf
proc
checkturf()
if(src.badturf == 1)
del src


were would I put checkturf(T) in my coding so that it starts automatically when I turn my game on.


thanks Hendrix

First off, you have the code all indented wrong to begin with.
Your calling a proc without anything for it. You had to tab the if statment. Use this -
turf/proc
checkturf()
if(src.badturf==1){del src}


Alatar
In response to Alatar
Well, fwi it was an example and I made it up right here and since you must not understand my question because you didn't answer it. I want to make so a proc for all the turf starts when i enter the game.
In response to Hendrix
I didnt mean to abandon you i been having troubles being able to go online ..... so when i get back on ill get caught up since i have my comp now.