Kill_All()
set category = "GM"
set name = "Kill Everybody"
switch(alert("Are you sure you want to Kill everyone?","Kill Everyone?","Yes","No"))
if("Yes")
for(var/mob/M in world)
if(M.client)
M.powerlevel = 0
Die()
world << "[usr.name] has Killed everyone!"
Revive_All(mob/M in world)
set category = "GM"
set name = "Revive Everybody"
switch(alert("Are you sure you want to Revive everyone?","Revive All","Yes","No"))
if("Yes")
for(M.dead ==1)
M.loc = locate(77,77,1)
M << "<b>You feel your body getting revived!!!"
M.dead = 0
M.overlays -= /obj/halo
M.overlays -= 'halo.dmi'
M.overlays -= /obj/halo
M.overlays -= 'halo.dmi'
M.overlays -= /obj/halo
M.overlays -= 'halo.dmi'
world << "Everyone has been Revived by [usr.name]!"
the revive all has been put together from 2 other codes, i tried and it didnt work. any help or ideas would be appreciated.
before any proc that you want to sorda branch off into the PROC() and the rest of the code
example:
spawn()
tab Die()
Tell meh if that works.