23.09.2009, 17:40
Nice, but the grouping and stuff doesn't seem to work too nice. It might just be me but I've been testing and what I get is:
While I call this code:
And my IRC connections are this:
So... shouldn't it be:
I had the same issues with Jacob's IRC plugin and my only solution was to make one bot send the commands.
Am I doing something wrong or what's going on? I would appreciate help!
By the way, it is great to see a new IRC plugin. Thanks a lot Incognito, you're great.
I love the RAW message parsing you've added as OnReceiveRaw... also all the groups and efficiency.
Please help!
Quote:
[20:38:08] <TESTIE_03> - Server Information - [20:38:08] <TESTIE_03> Players: 0/16 [20:38:08] <TESTER_03> IP Address: 95.211.6.150:7777 |
pawn Code:
IRC_GroupSay(ircGroup, channel, "7- Server Information -");
format(str, sizeof(str), "4IP Address:17 %s:%s", SERVER_IP, SERVER_PORT);
IRC_GroupSay(ircGroup, channel, str);
format(str, sizeof(str), "4Players:17 %d/%d", GetOnlinePlayers(), maxPlayers);
IRC_GroupSay(ircGroup, channel, str);
pawn Code:
ircBot[0] = IRC_Connect(IRC_SERVER, IRC_PORT, ircName[0], IRC_REALNAME, IRC_HOSTNAME);
ircBot[1] = IRC_Connect(IRC_SERVER, IRC_PORT, ircName[1], IRC_REALNAME, IRC_HOSTNAME);
ircGroup = IRC_CreateGroup();
IRC_AddToGroup(ircGroup, ircBot[0]);
IRC_AddToGroup(ircGroup, ircBot[1]);
Quote:
[20:38:08] <TESTIE_03> - Server Information - [20:38:08] <TESTER_03> IP Address: 95.211.6.150:7777 [20:38:08] <TESTIE_03> Players: 0/16 |
Am I doing something wrong or what's going on? I would appreciate help!
By the way, it is great to see a new IRC plugin. Thanks a lot Incognito, you're great.
I love the RAW message parsing you've added as OnReceiveRaw... also all the groups and efficiency.
Please help!