Player and server name from received whisper
Hello,
Sender's name from event CHAT_MSG_WHISPER now looks like "John-KirinTor" (without any space) if a whisp is received from John from Kirin Tor server (with a space) and even if you also play on Kirin Tor server.
So, as we cann't perform a test on the server name because in this case the builtin function GetRealmName() will return "Kirin Tor", how could I do to know if John is on the same server as me ?
If John is on the same server as me, and only in this case, I would like to split the server name, the easy part.
Thanks.
|