Files
vgstation13/code/modules/admin/verbs/adminhelp.dm
Skiedrake cbec1b6f3d Removed files that were 0 bytes in size.
Made sure every verb now has a name which starts with a capital letter and makes sense, because OCD.
Changed the categories of verbs a lot, now they are in much more sensible tabs.
Added a couple of admin verbs:
 - Right click monkeyize
 - Call Shuttle
 - Recall Shuttle
Removed some goon verbs.
Gave "Coder" admin group a little more admin verbs:
 - Monkeyize, Cultistize, Abominationize, Call Shuttle, Recall Shuttle, Make Sound
Added mobs a "say_message" variable. Now admin-created mobs can "scree", "squeak" etc. instead of just "chimper" or "hiss".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@138 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-22 00:41:07 +00:00

22 lines
619 B
Plaintext

/mob/verb/adminhelp(msg as text)
set category = "Commands"
set name = "-Adminhelp"
if(!usr.client.authenticated)
src << "Please authorize before sending these messages."
return
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
if (!msg)
return
if (usr.muted)
return
for (var/mob/M in world)
if (M.client && M.client.holder)
M << "\blue <b><font color=red>HELP: </font>[key_name(src, M)](<A HREF='?src=\ref[M.client.holder];adminplayeropts=\ref[src]'>X</A>):</b> [msg]"
usr << "Your message has been broadcast to administrators."
log_admin("HELP: [key_name(src)]: [msg]")