mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
Refactors speech/communication logging and adds coordinates to speech logs (#28997)
* Adds locations to speech and related communications Refactors how logging is handled for these. * changes * ahhhhh * preemptive merge conflict undoing maybe? * Let's not delay this further
This commit is contained in:
committed by
Jordan Brown
parent
ce590cd648
commit
68102aaa0c
@@ -9,7 +9,7 @@
|
||||
if(!msg)
|
||||
return
|
||||
|
||||
log_adminsay("[key_name(src)] : [msg]")
|
||||
log_talk(mob,"[key_name(src)] : [msg]",LOGASAY)
|
||||
msg = keywords_lookup(msg)
|
||||
if(check_rights(R_ADMIN,0))
|
||||
msg = "<span class='admin'><span class='prefix'>ADMIN:</span> <EM>[key_name(usr, 1)]</EM> (<a href='?_src_=holder;adminplayerobservefollow=\ref[mob]'>FLW</A>): <span class='message'>[msg]</span></span>"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
return
|
||||
|
||||
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
|
||||
log_dsay("[key_name(src)] : [msg]")
|
||||
log_talk(mob,"[key_name(src)] : [msg]",LOGDSAY)
|
||||
|
||||
if (!msg)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user