ID:164776
 
mob/verb/test()
del src
some_loop_proc_i_made_earlier()

Now, I know that the loop will never run but consider this: I pet the delete src after the proc then the proc should run. But even THEN the proc wont run because src don't exist no more! How can I get the proc to run after src is dead (Note: the proc does not effect src in anyway, just the world which will not be deleted)?
I know that its probably not the actual code in your test, at least I hope not because it would be interesting how you would know if it ran after you were deleted....

Otherwise I don't know why it wouldn't work like this

mob/verb/test()
some_loop_proc_he_made_earlier()
del(usr) //It might be src in a verb(not sure what the src would be in this case...)

Spawn() it off:

mob/verb/test()
spawn(1) whatever()
del src


EDIT: Alternatively, you can set src to null:

mob/verb/test()
var/mob/m=src
src=null
del m
whatever()
In response to Jp
Jp wrote:
Spawn() it off:

Spawned code still runs as a proc linked to 'src', so that doesn't make a difference.