Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Player and server name from received whisper


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off