IRC Bots not connecting - 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)
+--- Thread: IRC Bots not connecting (
/showthread.php?tid=499561)
IRC Bots not connecting -
DarkLored - 08.03.2014
Hello i am making a irc channel in sa-irc but i cant see the bots in the channel here is what i have done
pawn Код:
#define BOT_1_NICKNAME "[TFC]CODBOT1"
#define BOT_1_REALNAME "[TFC]CODBOT1"
#define BOT_1_USERNAME "bot"
#define IRC_SERVER "irc.sa-irc.com"
#define IRC_PORT (80)
#define IRC_CHANNEL "#cod"
#define MAX_BOTS (3)
new gBotID[MAX_BOTS], gGroupID;
this is when i connect him and i added the irc to the gamemode i didnt make a filter script for that
pawn Код:
gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 20);