mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Me, messing up mentors? I would never... (#10537)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
return
|
||||
|
||||
var/show_char = CONFIG_GET(flag/mentors_mobname_only)
|
||||
var/mentor_msg = span_purple("<b>MENTORHELP:</b> <b>[key_name_mentor(src, TRUE, FALSE, TRUE, show_char)]</b>: [msg]")
|
||||
var/mentor_msg = span_mentor("<b>MENTORHELP:</b> <b>[key_name_mentor(src, TRUE, FALSE, TRUE, show_char)]</b>: [msg]")
|
||||
log_mentor("MENTORHELP: [key_name_mentor(src, FALSE, FALSE, FALSE, FALSE)]: [msg]")
|
||||
|
||||
for(var/mentor in GLOB.mentors)
|
||||
@@ -25,7 +25,7 @@
|
||||
SEND_SOUND(mentor_client, 'sound/items/bikehorn.ogg')
|
||||
to_chat(mentor_client, mentor_msg)
|
||||
|
||||
to_chat(src, span_purple("PM to-<b>Mentors</b>: [msg]"))
|
||||
to_chat(src, span_mentor("PM to-<b>Mentors</b>: [msg]"))
|
||||
return
|
||||
|
||||
/proc/get_mentor_counts()
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
return
|
||||
|
||||
if(is_mentor(whom))
|
||||
to_chat(GLOB.mentors, span_mentor(span_purple("[src] has started replying to [whom]'s mhelp.")))
|
||||
to_chat(GLOB.mentors, span_purple(span_mentor("[src] has started replying to [whom]'s mhelp.")))
|
||||
|
||||
//get message text, limit it's length.and clean/escape html
|
||||
if(!msg)
|
||||
@@ -61,7 +61,6 @@
|
||||
if (!target.is_mentor() && !is_mentor())
|
||||
return
|
||||
|
||||
msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN))
|
||||
if(!msg)
|
||||
if (is_mentor(whom))
|
||||
to_chat(GLOB.mentors, span_mentor(span_purple("[src] has stopped their reply to [whom]'s mhelp.")))
|
||||
|
||||
Reference in New Issue
Block a user