View Single Post
03-05-14, 10:40 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
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.
  Reply With Quote