Project

General

Profile

Actions

Bug #147

closed

OnUserMessage not executing?

Added by Chris S over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
08/03/2009
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:

Description

With this code, OnUserMessage doesn't do anything when I write a message myself:
in Initialize():
myHost.OnUserMessage += new AdiIRCAPI.UserMessage(myHost_OnUserMessage);

and then in that function:
void myHost_OnUserMessage(IServer Server, object Target, string Message, out EatData Return) {
MessageBox.Show("myHost_OnUserMessage");
ProcessMessage(Server, Target, Server.Nick, Message, out Return);
}

It's not showing the message box, but I think it should?

Actions

Also available in: Atom PDF