IRC Plugin bug? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: IRC Plugin bug? (
/showthread.php?tid=80524)
IRC Plugin bug? -
edit - 04.06.2009
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?
Re: IRC Plugin bug? -
Slice - 04.06.2009
Change
Код:
public ircOnUserSay(conn, channel[], user[], message[])
{
to
Код:
public ircOnUserSay(conn, channel[], user[], message[])
{
if( conn != (variable holding one of the connections) ) return 1;
Re: IRC Plugin bug? -
edit - 04.06.2009
It works! Thanks Slice!