mob
Stat()
statpanel("Banned")
stat(banned)
verb
Ban(t as text)
if(!locate(ckey(t))in banned)
banned.Add(ckey(t))
src<<"<strong>[ckey(t)] was banned.</strong>"
UnBan()
if(banned.len>0)
var/k=input("Who do you want to unban?")as null|anything in banned
if(k&&k in banned)
banned.Remove(k)
src<<"<strong>[k] was unbanned.</strong>"
else src<<"<strong>There is currently noone banned.</strong>"
var/list/banned=list()
// So, any ideas why it'll add the same
// text multiple times to the banned list
// if I use the verb multiple times?
ID:145828
![]() Nov 29 2005, 12:01 pm
|
|
Code:
|
I initially did that, and it doesn't do anything at all if done that way.
I've tried; // [X]=Did not even work. And other things. |
~~> Unknown Person