Event Handler problem menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    bjorno43's Avatar Master Sergeant
    Reputation
    50
    Join Date
    Mar 2010
    Posts
    70
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Event Handler problem

    I've been working on an addon but I can't get it to fire up it's event. This is the xml code I'm using:
    Code:
    <OnLoad>
    		antiportal:RegisterEvent("CHAT_MSG_WHISPER");
          	antiportal_OnLoad();
          </OnLoad>
          <OnEvent>
          	  	antiportal_OnEvent(); <!-- Upon receiving a whisper, antiportal_OnEvent()-->
          </OnEvent>
    Everything works fine except that antiportal_OnEvent(); doesn't fire upon receiving whispers. Well it doesn't fire at all actually. The event itself is just a basic DEFAULT_CHAT_FRAME:AddMessage("Event fired"); to check if it works. So what am I doing wrong?

    Event Handler problem

Similar Threads

  1. Hooking WoW Events without LUA-Handler Proc?
    By berlinermauer in forum WoW Memory Editing
    Replies: 1
    Last Post: 01-03-2014, 08:46 PM
  2. Events problem
    By asapmao in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 07-22-2013, 07:24 AM
  3. problems with spawns with Event AI in raids
    By resinate in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 04-19-2009, 02:46 AM
  4. event problems!!!
    By Peony in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 02-14-2009, 05:56 PM
  5. Site problems
    By Shanaar in forum Community Chat
    Replies: 10
    Last Post: 05-14-2006, 01:15 AM
All times are GMT -5. The time now is 08:45 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search