SA-MP Forums Archive
IRC System Question - 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 System Question (/showthread.php?tid=578341)



IRC System Question - darkowner - 18.06.2015

This is more a question than a scripting problem I think.I am using G-IRC's system on my server.
The question is,how can my bots connect to an invite only channel?


Re: IRC System Question - Banana_Ghost - 19.06.2015

either use the bot's host,registered name, or just the name like

go on the irc channel, use
-Host
-IP: /mode #channel +I *!*@127.0.0.1
-hostmask: /mode #channel +I *!*@ipblah.my.isp.com (also works with IRC Server cloaking if the dns of the IP could not be resolved).
-Registered Name - /mode #channel +I R:registeredname
-Name - /mode #channel +I name!*@*


Re: IRC System Question - darkowner - 19.06.2015

Quote:
Originally Posted by Banana_Ghost
Посмотреть сообщение
either use the bot's host,registered name, or just the name like

go on the irc channel, use
-Host
-IP: /mode #channel +I *!*@127.0.0.1
-hostmask: /mode #channel +I *!*@ipblah.my.isp.com (also works with IRC Server cloaking if the dns of the IP could not be resolved).
-Registered Name - /mode #channel +I R:registeredname
-Name - /mode #channel +I name!*@*
Okay,I fixed thank you,now I have another question which is,how do I make the bots register and login when they come on IRC?


Re: IRC System Question - Banana_Ghost - 20.06.2015

well you could register it on your PC and then disconnect from it.

to make it identify, on the bot's connection to the irc server, do something like:
IRC_SendRaw(botid, "ns identify passwordhere");