mob/proc/Mass_revive()
for(var/mob/M) if(M.dead)
if(M.dead==1)
M << "you will revive in 30 mintunes"
sleep(100)
switch(input("Would you like to be Revive?", "", text) in list ("No", "Yes",))
if("Yes")
M.dead=0
M.overlays-='Halo.dmi'
M.Locate()
spawn(10) Mass_revive()
if("No")
sleep(100)
spawn(10) Mass_revive()
mob/var/masson=1
mob/Admin3/verb
Mass_revive_toggle()
set category = "Admin"
if(masson==0)
usr<<"Mass revive is on"
masson=1
spawn(10) Mass_revive()
return
if(masson==1)
masson=0
usr<<"Mass Revive is off"
return
Problem description:
Hello, its been a long time.So I was wondering why my code will not loop. Its probably because a spawn isnt that good of a loppproc, but altas, I tried anyways.
What would I use to make this code loop, IF the mass revie toggle is on.