SA-MP Forums Archive
Bots Identifying themselves - 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: Bots Identifying themselves (/showthread.php?tid=168025)



Bots Identifying themselves - Saurik - 14.08.2010

Well i made my own irc system but i dont know how to identify my bots so they can get hops


Re: Bots Identifying themselves - Hiddos - 14.08.2010

I thought there was this callback:

pawn Код:
public IRC_OnConnect(botid)
{
  return 1;
}
You could do something with IRC_AddToGroup.


Re: Bots Identifying themselves - Saurik - 14.08.2010

i know about irc_onconnect

idk which function can identify them


Re: Bots Identifying themselves - bigcomfycouch - 14.08.2010

pawn Код:
public IRC_OnConnect(botid)
{
    IRC_JoinChannel(botid, IRC_CHANNEL, IRC_CHANNEL_PW);
    IRC_Say(botid, "nickserv", "identify password");
    return 1;
}



Re: Bots Identifying themselves - Saurik - 14.08.2010

thanks guys