mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 03:22:12 +00:00
Adds new adminhelp sound, fixes adminhelp sanitize, readds admin PM sounds for non-admins.
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
src << "<font color='blue'>PM to-<b>Admins</b>: [msg]</font>"
|
||||
log_admin("HELP: [key_name(src)]: [msg]")
|
||||
var/list/replacechars = list("'" = "","\"" = "",">" = "","<" = "","(" = "",")" = "")
|
||||
msg = sanitize_simple(msg, replacechars)
|
||||
if(tension_master)
|
||||
tension_master.new_adminhelp()
|
||||
send2adminirc("#bs12admin","HELP: \"[src.key]: [msg]\"")
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
src << "<font color='blue'>Admin PM to-<b>[key_name(C, src, 1)]</b>: [msg]</font>"
|
||||
|
||||
//always play non-admin recipients the adminhelp sound
|
||||
// C << 'adminhelp.ogg'
|
||||
C << 'adminhelp.ogg'
|
||||
|
||||
//AdminPM popup for ApocStation and anybody else who wants to use it. Set it with POPUP_ADMIN_PM in config.txt ~Carn
|
||||
if(config.popup_admin_pm)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user