IRC Plugin bug?
#1

Well, I've been asking and searching around for months now, and still haven't been able to find a solid solution to this problem.

When you have more than one IRC echo connection (using Jacob's IRC Plugin) and use the ircSay(); function, it seems to send that message, for every bot connected.

For example:
Quote:

<eDiT> !say hi
<EchoBot1> * eDiT on IRC: hi
<EchoBot2> * eDiT on IRC: hi
<EchoBot3> * eDiT on IRC: hi

Has anyone found a solution or workaround for this problem?
Reply
#2

Change
Код:
public ircOnUserSay(conn, channel[], user[], message[])
{
to
Код:
public ircOnUserSay(conn, channel[], user[], message[])
{
	if( conn != (variable holding one of the connections) ) return 1;
Reply
#3

It works! Thanks Slice!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)