mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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
22 lines
619 B
Plaintext
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]")
|