ID:267739
 
I was just wondering how to go about making something like a boot verb. To tell the truth I have no idea. I know reboot
but i cant understand boot at all. Any help here?
Just make a proc that allows you to pick a mob/M in the world, then run M.Logout().
That would do it. You could also just delete the mob.
The Conjuror wrote:
I was just wondering how to go about making something like a boot verb. To tell the truth I have no idea. I know reboot
but i cant understand boot at all. Any help here?

Reboot() refers to "boot" as in the world booting up, but I think you're talking about "boot" as in booting someone (kicking them) from the game. You need to be more specific what you mean.

Lummox JR
I like boot verbs with reasons...
mob/verb/Boot(mob/M in world)
switch(alert("Are you sure you'd like to boot [M]?","Booting [M]","Yes","No"))
if("Yes")
var/reason = input("Would you like to support a reason?","Reason?","None") as text
world << "<b> [src] has just booted [M]. Reason: [reason]"
del M
else return


I made it without testing, but it'll work.

~Camaro~>