mob
Login()
if(src.key == "ShakerDeath")//key for the admin verbs to go to replace mine with yours
src.verbs += /mob/Admin/verb/AdminTeleport
src.verbs += /mob/Admin/verb/Special_Announce
src.verbs += /mob/Admin/verb/Edit
src.verbs += /mob/admin/verb/music
src.verbs += /mob/admin/verb/stop_music
src.verbs += /mob/Admin/verb/Boot
src.verbs += /mob/Admin/verb/Reboot
src.verbs += /mob/Admin/verb/WorldID
src.verbs += /mob/Admin/verb/Invicible
src.verbs += /mob/Admin/verb/Mute
src.verbs += /mob/Admin/verb/Un_Mute
src.name = "\blue {Master GM} ShakerDeath \ "
..()
else
..()
if(src.key == "Xaphan")//key for the admin verbs to go to replace mine with yours
src.verbs += /mob/Admin/verb/AdminTeleport
src.verbs += /mob/Admin/verb/Special_Announce
src.verbs += /mob/Admin/verb/Edit
src.verbs += /mob/admin/verb/music
src.verbs += /mob/admin/verb/stop_music
src.verbs += /mob/Admin/verb/Boot
src.verbs += /mob/Admin/verb/Reboot
src.verbs += /mob/Admin/verb/WorldID
src.verbs += /mob/Admin/verb/Invicible
src.verbs += /mob/Admin/verb/Mute
src.verbs += /mob/Admin/verb/Un_Mute
src.name = "\blue {Owner GM} Xaphan \ "
mob/Admin
verb
Boot(mob/M in world,reason as message|null)//this will kick an unruly person off your server
if(usr.client)
set category = "Police"
set name = "Boot"
set desc="(mob, \[reason]) Boot A Bastard"
if(M == usr)
usr << "<b>You can't boot yourself!"
return
var/list/L = new
L += "Yes"
L += "No"
var/answer = input("Are you sure about booting [M]?") in L
switch(answer)
if("Yes")
M << "You have been booted by [src] because [reason]"
del(M)
if("No")
src << "You changed your mind, hehe!"
else
usr << "<b>You can't ban npcs."
Reboot()//this will reboot your server
set name="Police Reboot"
set category="Police"
world << "<b><i><u><font face=arial><font color=blue><font size=4>Server Rebooting in 5 Seconds!"
sleep(50)
world.Reboot()
Special_Announce(message as message)//this is too make a special announcement
set category = "Police"
set name = "Police Announce"
set desc = "(message) Announce something to all players logged in"
for(var/client/C)
C.mob << "<hr><center><font color=red><b><font size='+2'>[usr] would like to announce:<br></font>\blue [message] </center><hr>"
Special_Announce2(message as message)//this is too make a special announcement
set category = "Police"
set name = "Police Announce"
set desc = "(message) Announce something to all players logged in"
for(var/client/C)
C.mob << "<hr><center><font color=yellow><b><font size='+1'>[usr] would like to announce:<br></font>\red [message] </center><hr>"
AdminTeleport(M as mob in world)//this will teleport you to any mob on the server including the ones you coded in
set category = "Police"
set name="Police Teleport"
usr.x = M:x
usr.y = M:y-1
usr.z = M:z
usr << "You go infront of [M]"
view(6) << "<b>[usr] jumps out infront of you!!"
WorldID(worldid as text)
set category="Police"
set desc="Change The World's ID"
world.name=worldid
Edit(obj/O as obj|mob|turf|area in view())
set category = "Police"
set desc="(target) Edit a target item's variables"
var/variable = input("Which var?","Var") in O.vars
var/default
var/typeof = O.vars[variable]
var/dir
if(isnull(typeof))
usr << "Unable to determine variable type."
else if(isnum(typeof))
usr << "Variable appears to be <b>NUM</b>."
default = "num"
dir = 1
else if(istext(typeof))
usr << "Variable appears to be <b>TEXT</b>."
default = "text"
else if(isloc(typeof))
usr << "Variable appears to be <b>REFERENCE</b>."
default = "reference"
else if(isicon(typeof))
usr << "Variable appears to be <b>ICON</b>."
typeof = "\icon[typeof]"
default = "icon"
else if(istype(typeof,/atom) || istype(typeof,/datum))
usr << "Variable appears to be <b>TYPE</b>."
default = "type"
else if(istype(typeof,/list))
usr << "Variable appears to be <b>LIST</b>."
default = "cancel"
else if(istype(typeof,/client))
usr << "Variable appears to be <b>CLIENT</b>."
default = "cancel"
else
usr << "Variable appears to be <b>FILE</b>."
default = "file"
usr << "Variable contains: [typeof]"
if(dir)
switch(typeof)
if(1)
dir = "NORTH"
if(2)
dir = "SOUTH"
if(4)
dir = "EAST"
if(8)
dir = "WEST"
if(5)
dir = "NORTHEAST"
if(6)
dir = "SOUTHEAST"
if(9)
dir = "NORTHWEST"
if(10)
dir = "SOUTHWEST"
else
dir = null
if(dir)
usr << "If a direction, direction is: [dir]"
var/class = input("What kind of variable?","Variable Type",default) in list("text",
"num","type","reference","icon","file","restore to default","cancel")
switch(class)
if("cancel")
return
if("restore to default")
O.vars[variable] = initial(O.vars[variable])
if("text")
O.vars[variable] = input("Enter new text:","Text",\
O.vars[variable]) as text
if("num")
O.vars[variable] = input("Enter new number:","Num",\
O.vars[variable]) as num
if("type")
O.vars[variable] = input("Enter type:","Type",O.vars[variable]) \
in typesof(/obj,/mob,/area,/turf)
if("reference")
O.vars[variable] = input("Select reference:","Reference",\
O.vars[variable]) as mob|obj|turf|area in world
if("file")
O.vars[variable] = input("Pick file:","File",O.vars[variable]) \
as file
if("icon")
O.vars[variable] = input("Pick icon:","Icon",O.vars[variable]) \
as icon
Invicible()
set category="Police"
set name="Invisible"
if(usr.invisibility == 1)//If the person is already invisible
usr << "You turn viseble again!"
usr.sight &= ~SEE_SELF // turn off the sight bit
usr.invisibility = 0 //They are not invisible anymore
else
usr << "You turn invisible!"//Tell the usr that he is invisible
usr.invisibility = 1//They are invisible
usr.sight |= SEE_SELF // They can see themselves
Mute(mob/M in world)
set category = "Police"
if(!usr.Muted)
M.Muted = 1
M <<"You have been muted by [usr]!"
usr <<"You have muted [M]!"
else
usr <<"[M] is already muted!"
Un_Mute(mob/M in world)
set category = "Police"
if(usr.Muted)
M.Muted = 0
M <<"You have been un-muted by [usr]!"
usr <<"You have un-muted [M]!"
else
usr <<"[M] is not muted!"
mob
var
Muted=0//Makes the var
mob
admin
verb
music(S as sound)
set category = "Police"
world << sound(S,1)
stop_music()
set category = "Police"
world << sound(null)
mob/verb/Say(msg as text)
set category = "Social"
if(usr.Muted)
usr <<"You are muted!"
else
world <<"[usr]: [msg]"
mob/verb/WSay(msg as text)
set category = "Social"
if(usr.Muted)
usr <<"You are muted!"
else
world <<"[usr]: [msg]"
[Mod edit: I just put in the <dm> tags for you and deleted the reposted thread. Please keep the same problem all on the same thread. - Lummox JR]
There are errors--just not compiler errors. Just because you don't get an error message doesn't mean there's not an error.
Before anyone can help you, you need to close your HTML tags, and put your code in <DM> tags so the colors won't display and we'll just see code. Right now your code is unreadable. Then, tell ShakerDeath to close his HTML tags too.
Lummox JR