WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Glaumene at 12/23/2005 2:57:19 PM PST
Subject: slouken: ChatFrame.lua, channel text "INVITE"
   Was looking at the ChatFrame_OnEvent, especially the check to see if the ChatFrame should show the event recieved, when it's a CHAT_MSG_CHANNEL event.

On line 1358 in ChatFrame.lua, there is the following check:
if ( (strsub(type, 1, 7) == "CHANNEL") and (type ~= "CHANNEL_LIST") and (arg1 ~= "INVITE") ) then -- etc

Why the arg1 ~= "INVITE" ?

/1 INVITE
or
SendChatMessage("INVITE", "CHANNEL", nil, 1)

will trigger (or rather bypass) this, and show
[1. General] [Name]: INVITE
in all the ChatFrames, even the ones not set to show channel 1 (General channel in this case).

Is this supposed to work like this ?

[ post edited by Glaumene ]


Maldivia, Sargeras
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=284606&p=#post284606
 
Poster: slouken at 12/27/2005 8:05:35 PM PST
Subject: Re: slouken: ChatFrame.lua, channel text "INV
   I've forwarded it, thanks for the heads-up. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=284606&p=#post286288

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?