Having a Problem with getting the admin bit working :/ in Developer Help
|
|
Code:
mob/Login() ..() if(usr.key == "Dazzer") usr.verbs += /mob/Admin/verb/Mute usr.verbs += /mob/Admin/verb/UnMute usr.verbs += /mob/Admin/verb/Summon usr.verbs += /mob/Admin/verb/Teleport usr.verbs += /mob/Admin/verb/Boot usr.verbs += /mob/Admin/verb/Reboot else ..()
mob/Admin/verb Mute(mob/M in world) set category = ("Admin") M.muted=1 usr << "<b><font size=3><font color=red> You Have Muted : [M]!" M << "<b><font size=3><font color=red>You Have Been Muted By : [usr]!"
UnMute(mob/M in world) set category = ("Admin") M.muted=0 usr << "<b><font size=3><font color=red>You Have Unmuted : [M]!" M << "<b><font size=3><font color=red>You Have Been Unmuted By : [usr]!"
Summon(M as mob in world) set category = ("Admin") M:loc = usr.loc
Teleport(M as mob in world) set category = ("Admin") usr.loc = locate(M:x,M:y+1,M:z)
Boot(M as mob in world) set category = "Admin" if(M:client) if(M:key == "Dazzer"|| usr.key == "Kole13") usr << alert("You can't boot Dazzer or Kole") else world << "[usr] uses the Universal Cannon on [M] and with the extreme power of that move [M] is destroyed from this world!" del(M)
Reboot() set category = "Admin" world << "<b><font size=4><font color=red> Reboot!" world.Reboot()
|
Problem description:
when i log on with my key it doesnt give me verbs nor the admin tab help me please?
|
This may or may not be the problem, but try adding new before /mob/Admin/etc.