24.04.2013, 06:59
Hey i am using Incognito's irc plugin and need help in IRC_OnUserJoinChannel.
I tried searching but found nothing, the default irc.pwn callback
This printf prints logs example when someone joins:
Only the bot id's are different, and if i add SendClientMessageToAll to notify ingame players. Then it repeats like the printf.
How to fix that?
I tried searching but found nothing, the default irc.pwn callback
Код:
public IRC_OnUserJoinChannel(botid, channel[], user[], host[]) { printf("*** IRC_OnUserJoinChannel (Bot ID %d): User %s (%s) joined channel %s", botid, user, host, channel); return 1; }
Код:
[12:46:59] *** IRC_OnUserJoinChannel (Bot ID 1): User [ANGEL]_Rocko (Rocko@265BC44E.6A174064.227125C9.IP) joined channel #test [12:46:59] *** IRC_OnUserJoinChannel (Bot ID 2): User [ANGEL]_Rocko (Rocko@265BC44E.6A174064.227125C9.IP) joined channel #test
How to fix that?