SkyHigh
Member
- Joined
- Apr 15, 2010
- Messages
- 396
- Reaction score
- 4
Hey, trying to fire a method on a chat event but its isn't quite working.
Constructor
Whisper Method
I read this as: everytime the NewWhisperFromMessage event is fired the Whispered method logs great success!, right? For some reason this is not the case.
What am I doing wrong here?
Constructor
Code:
public Test()
{
slog("Loaded");
WoWChat.NewWhisperFromMessage += Whispered;
}
Whisper Method
Code:
private void Whispered(ChatMessageEventArgs e)
{
slog("Great Success!");
}
I read this as: everytime the NewWhisperFromMessage event is fired the Whispered method logs great success!, right? For some reason this is not the case.
What am I doing wrong here?
