mob/Admin/verb
Jail(mob/M in world)
set category="Staff"
world<<world.realtime
var/time=input("For how many minutes?")as num
var/reason=input("Why are you jailing them?") as text|null
M.jailed=text2num(world.realtime+time*600)
M.loc=locate(8,3,3)
world <<"[M] - Key: [M.key] was jailed for [time] minutes because of [reason]"
var/obj/savedstuff/jail/A=new
A.jailed=text2num(world.realtime+time*600)
A.jail_key=M.key
A.jail_reason=reason
A.jail_by=usr
A.loc=locate(8,3,3)
text2file("[time2text(world.realtime)] :[M] - [M.key] was jailed by [usr]for [time] minutes<BR>","jaillogs/[time2text(world.realtime,"MMDD")].html")
Problem description:
- Well after the person spent in jail ends he should be freed but its not happening can someone help