i tried making GM Ban codes.
i have the list, banned
i have it so when u ban someone it does:
banned.Add(M:key)
and in the Login() i have:
if(banned.Find(usr.key))
del usr
but an error occurs and banning doesn't work
ID:267808
Oct 25 2003, 7:32 am
|
|
Heres 2 ban things you can implement into your game or whatever. They are much better than using a list.
http://www.byond.com/hub/crispy/FullBan http://www.byond.com/hub/jackguy/simpleban They use savefiles rather than a list. And provide instructions on how to do the banning. |
In response to Evil Incarnate Inc
|
|
FullBan does use a list, actually. =) It just saves the list as well, and does a few pieces of trickery to tag computers so that the banned players can't come back on a different key.
|
In response to Unknown Person
|
|
yep Unknown was right...thanks
at least, i think he's right |
var/list/banned = list()
~~ Dragon Lord ~~