What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Best way to read messages?

mastahg

Administrator
Staff member
Joined
Feb 27, 2011
Messages
5,395
Reaction score
393
Right now im using lua.Events.AttachEvent to hook into the three battleground chats, problem is for some reason initialize gets called twice so I end up hooking the events twice and thats unneeded. I see that there are three hooks for:
Styx.WoWInternals.WoWChat.AllianceBattleground
Styx.WoWInternals.WoWChat.HordeBattleground
Styx.WoWInternals.WoWChat.NeutralBattleground
How would I go about using these, I can't figure out the right params to throw in creation of the event handler.
 
Nm, figured it out, but still not sure which to use.
 
Back
Top