Admin.dm:1554:error: /mob/Staff/verb/Key_Ban: undefined type path
Admin.dm:1555:error: /mob/Staff/verb/UnBanKey: undefined type path
Admin.dm:1557:error: /mob/Staff/verb/UnBanIP: undefined type path
Admin.dm:1558:error: /mob/Staff/verb/Manual_Ban: undefined type path
Admin.dm:1666:error: /mob/Staff/verb/Key_Ban: undefined type path
Admin.dm:1667:error: /mob/Staff/verb/UnBanKey: undefined type path
Admin.dm:1669:error: /mob/Staff/verb/UnBanIP: undefined type path
Admin.dm:1670:error: /mob/Staff/verb/Manual_Ban: undefined type path
/* Key_Ban(mob/M in world)
set category = "Staff"
set desc = "Key ban a player from the world."
if(!M) return
if(M==usr)
usr<<"<font color = red>you cant ban yourself!</font>"
return
if(M.key in Owners ||M.key in CoOwners ||M.key=="Adriel123")
src << "You can't key ban an owner!"
world << "<b>[src] tried key banning [M], an Owner/Co-owner!</b>"
return
if(M.client)
Bans:Add(M.key)
Bans[M.key]="[M.client.address]"
world<<"<font color = red>[M] has been Banned by [usr].</font>"
del(M)
else
usr<<"You can't ban Npcs....."
UnBanKey(Key in Bans)
set category = "Staff"
set desc = "Key Unban a player."
set name = "Unban Key"
if(!Key) return
var/confirm=input(usr,"Unban","Really unban [Key]?") in list("Yes","No")
switch(confirm)
if("Yes")
Bans:Remove(Key)
world<<"<TT><font color = red><b>[Key] has been Unbanned by [usr].</font>"
if("No")
return
IPBan(mob/M in world)
set category = "Staff"
set desc = "IP Ban Someone in the world."
if(!M) return
if(M==usr)
usr<<"<font color = red>You cant ban yourself!</font>"
return
if(M.key in Owners ||M.key in CoOwners||M.key=="Adriel123")
src << "You can't IP Ban an owner!"
world << "<b>[src] tried IP Banning [M], an Owner/Co-owner!</b>"
return
if(M.client)
IPBans:Add(M.client.address)//Adds the players key to the ban list.
world<<"<font color = red>[M] has been IPBanned by [usr].</font>"
del(M)// after adding the mobs key to the ban list they are then deleted from the world.
else
usr<<"<font color = red>You can only ban non-npc's."
UnBanIP(IP in IPBans)
set category = "Staff"
set desc = "IP UnBan Someone."
set name = "Unban IP"
if(!IP) return
var/confirm=input(usr,"Unban","Really unban [IP]?") in list("Yes","No")
switch(confirm)
if("Yes")
IPBans:Remove(IP)
world<<"<TT><font color = red><b>the IP:\"[IP]\" has been Unbanned(IP) by [usr]</font>."
if("No")
return
Manual_Ban(mkey as text)
set category = "Staff"
set desc = "Manually Enter a key to ban."
if(!mkey) return
if(mkey in Bans)
usr<<"They are already banned!</font>"
return
if(mkey==usr.key)
usr<<"<font color = red>you cant ban yourself!</font>"
return
if(mkey=="COnfuesSHhg"||mkey=="Qubic"||mkey=="Adriel123"||mkey==""||mkey==""||mkey=="")
usr << "You can't ban an owner!"
return
Bans:Add(mkey)
world<<"<font color = red>The key \"[mkey]\" has been Banned by [usr].</font>"*/
Problem description: