ID:266675
 
Ok guys now i need to know how to delete that hole after 30 seconds

(Example:
proc
Hole(turf/Hole/T as Turf)
new /turf/Hole(src.loc)
sleep(60)
del(T) )
But that doesnt work.
Shun Di wrote:
Ok guys now i need to know how to delete that hole after 30 seconds

del(T) )
But that doesnt work.
del T
or del(T)
In response to RaeKwon
What
Shun Di wrote:
Ok guys now i need to know how to delete that hole after 30 seconds

(Example:
proc
Hole(turf/Hole/T as Turf)
new /turf/Hole(src.loc)
sleep(60)
del(T) )
But that doesnt work.

Err, you arranged that all wrong.

<code>proc Hole() // the T is the expected argument. var/turf/Hole/T = new(src.loc) sleep(600) // a tick is 1/10 of a second del(T)</code>

In response to Foomer
Thanks Again