10.09.2013, 07:37
pawn Код:
public IRC_OnConnect(botid, ip[], port)
{
printf("*** IRC_OnConnect: Bot ID %d connected to %s:%d", botid, ip, port);
IRC_SendRaw(botid, "ns identify passhere"); //IRC_SendRaw(botid, "identify passhere");
IRC_JoinChannel(botid, IRC_CHANNEL);
// Add the bot to the group
IRC_AddToGroup(groupID, botid);
return 1;
}
I know I had some troubles with this as well, but I think this is the right way to go.