mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Logs soulcatcher messages to the chat log so admins can review them, since that's kinda important, and gives subtle it's own logging format so you can tell it's a subtle and not just an emote. Also disables subtles while in the soulcatcher because apparently that was a thing.
12 lines
334 B
Plaintext
12 lines
334 B
Plaintext
/proc/log_nsay(text,inside)
|
|
if (config.log_say)
|
|
diary << "\[[time_stamp()]]NSAY (NIF:[inside]): [text][log_end]"
|
|
|
|
/proc/log_nme(text,inside)
|
|
if (config.log_emote)
|
|
diary << "\[[time_stamp()]]NME (NIF:[inside]): [text][log_end]"
|
|
|
|
/proc/log_subtle(text)
|
|
if (config.log_emote)
|
|
diary << "\[[time_stamp()]]SUBTLE: [text][log_end]"
|