ID:2324235
 
(See the best response by Spunky_Girl.)
mob/korguynajhahjsjha/verb/Sticky_ban()

var/mob/M=input("Banir super em?")in PlayersLogados+list("Cancelar")
world.IsBanned(key=M.key,address=M.client.address,computer_id=M.client.computer_id)
world.SetConfig("keyban",M.ckey,"type=sticky&reason=Banido&message=Banido&admin=[ckey(usr.key)]")

I just want stick ban, This code did not work in offline test
I need this on the 3:30 p.m
Best response
You need to read what IsBanned() actually does. You're using it incorrectly.

Also, I still don't understand why people ever implement a "Logged In Players" list when you can just on-the-fly loop through clients...
Also, I still don't understand why people ever implement a "Logged In Players" list when you can just on-the-fly loop through clients...

Because looping through clients to build a list of clients is a waste of processing power if you need to use it frequently, and maintaining a logged in clients list is trivial.
I think I saw the president's hair.
LuL!