AdminReboot()
set name = "Admin: Reboot"
set category = "Admin"
switch(alert("Are you sure you wish to Reboot?",A,"Yes","No"))
if("Yes")
var/time = input("How many seconds till reboot?",A) as num
AdminSystem("World will reboot in [time] seconds!")
time = time * 10
sleep(time)
world.Reboot()
Say i put reboot in 10 secondes but then i thought never mind so you put in 0 to halt it.
can anyone help me out
for the stillreboot() proc make it check if they changed they mind. Keep in mind though it has to be done in at least half the time it was initiated for.
~>Jiskuha