Adds MultiZ chat filter (#15849)

* Attempt at making a multi-z chat filter

* Adds MultiZ chat filter

* Runtime fix
This commit is contained in:
Heroman3003
2024-03-22 03:30:40 +10:00
committed by GitHub
parent 606107927e
commit d0ccf27f34
11 changed files with 26 additions and 4 deletions
+2
View File
@@ -222,6 +222,8 @@
if(M)
if(isobserver(M))
message = "<span class='emote'><B>[src]</B> ([ghost_follow_link(src, M)]) [input]</span>"
if(usr && usr.client && M && !(get_z(usr) == get_z(M)))
message = "<span class='multizsay'>[message]</span>"
M.show_message(message, m_type)
M.create_chat_message(src, "[runemessage]", FALSE, list("emote"), (m_type == AUDIBLE_MESSAGE))