afk
mob/var //vars needed to work verbs in the game
afk = 0
mob/verb/AFK(mob/M)
set category = "Commands"
if(usr.afk == 0)
usr.overlays += 'afk.dmi' //overlays means it will go on top of your mob underlays will go behind your mob...
usr.afk = 1
world << "<font color = red><b>[usr] is Afk." //goes to everyone in the game..
M.lloc = M.loc // saves last spot
M.loc = locate(4,9,1) //cahnge the 1,1,1 to the location of your jail
else
usr.afk = 0
usr.overlays -= 'afk.dmi' //afk.dmi means the whole icon
world << "<font color = red><b>[usr] is back."
M.loc = M.lloc // places them at the origanal spot
mob/Move()
if(!src.afk)
return..()
jail
Send_To_Jail(mob/M in world)
set category = "Admin"
var/a=input("In How Many Seconds")as null|num
if (!a) return
M <<"[usr.name] sent you to jail for [a] seconds"
if (a) M.lloc = M.loc // saves last spot
M.loc = locate(4,9,1) //cahnge the 1,1,1 to the location of your jail
sleep(a*10)
M.loc = M.lloc // places them at the origanal spot