* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
23 lines
820 B
Plaintext
23 lines
820 B
Plaintext
/client/proc/cmd_mentor_say(msg as text)
|
|
set category = "Mentor"
|
|
set name = "Msay" //Gave this shit a shorter name so you only have to time out "msay" rather than "mentor say" to use it --NeoFite
|
|
set hidden = 1
|
|
if(!check_mentor()) return
|
|
|
|
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
|
|
if(!msg) return
|
|
|
|
msg = emoji_parse(msg)
|
|
log_mentor("MSAY: [key_name(src)] : [msg]")
|
|
|
|
|
|
if(check_rights(R_ADMIN,0))
|
|
msg = "<span class='mentoradmin'><span class='prefix'>MENTOR:</span> <EM>[key_name(src, 0, 0)]</EM>: <span class='message'>[msg]</span></span>"
|
|
to_chat(GLOB.mentors, msg)
|
|
to_chat(GLOB.admins, msg)
|
|
|
|
else
|
|
msg = "<span class='mentor'><span class='prefix'>MENTOR:</span> <EM>[key_name(src, 0, 0)]</EM>: <span class='message'>[msg]</span></span>"
|
|
to_chat(GLOB.mentors, msg)
|
|
to_chat(GLOB.admins, msg)
|