*EDIT* Yeah, why it isn't working -- When you run the game, there doesn't show up a tab named "GM". =/
mob/Login()
if(src.key=="jaimynl")
src.verbs+=typesof(/mob/GM/verb)
src.admin=999
if(ban.Find(src.client.ckey))
src << "You are banned."
del src
..()
mob
GM/verb
UnBan()
if(usr.key == "jaimynl")
set category="Admin"
var/check_letter=1
banlist+="Cancel"//Adds Cancel to the ban list.
var/T=input("Which address would you like to unban?")in banlist
if(T=="Cancel"){return}
usr<<"You Unbanned [T]."
var/banip
start:
if(copytext(T,check_letter,check_letter+1)=="-")goto unban
else{banip+=copytext(T,check_letter,check_letter+1);check_letter+=1;goto start}
unban:
ban.Remove(banip)
else
usr<<"You are not Bunnie, thus you are not allowed to use this command"
return()
Ban(mob/M in world)
if(usr.key == "jaimynl")
set category="Admin"
set desc="Who do you wish to Key ban?"
var/list/peoples
if(M == usr){usr << "Can't ban yourself."}
else
if(M.client)peoples+=M
ban+=M.client.ckey
M<<"You have been banned."
world<<"[usr] Key ban [M]!"
banlist+="[M.ckey]"
M.Del()
del (M)
else
usr<<"You are not Bunnie, thus you are not allowed to use this command"
return()
Boot(mob/M in world)
set category = "Admin"
set desc = "Who do you wish to boot? (Note: you can not boot yourself.)"
if(M == usr)
usr << "Can't boot yourself."
return()
if(M.key == "jaimynl")
usr<<"You cannot boot jaimynl!"
return()
else
del (M)
Mute(mob/M in world)
set category="Admin"
if(M.muted == 1)
usr<<"This user is already Muted!"
return()
else
if(M.admin >= 1)
usr<<"You may not mute a admin"
return()
else
if(alert(usr, "How long do you wish to mute them for?", "Mute", "Indefinately", "Timed") == "No")
var/time = input("How Long to mute them for?","Mute") as num
M.muted = 1
world<<"[M] has been muted by [usr] for [time] seconds."
sleep(time)
M.muted = 0
else
M.muted = 1
world<<"[M] has been muted by [usr] indefinately."
UnMute(mob/M in world)
set category="Admin"
if(M.muted == 0)
usr<<"This user isn't muted!"
return()
else
M.muted = 0
world<<"[M] has been unmuted by [usr]"
Announcement(message as message){set category = "Admin";
world << "<font color=#607B8B><center>--------------------------\
------------------------------\
<b><font color=#607B8B><center>Announces:</b><font color=#607B8B><center>[message]\
<font color=#607B8B><center>--------------------------\
------------------------------</center>"}
var/list{Admins=list();ban=list();banlist=list()}
mob/var{admin=0;default}