Authentication with NickServ
ChipzIRC can be configured to automatically authenticate with almost any bot, here is an example of how to auto with NickServ.
The script
Make sure that you keep the tab indentation.
event IrcClient:Registered:
nick = "MyNickname"
pwd = "MyPassword"
net = "Rizon"
bot = "NickServ"
# IrcClient tag is always the ServerWindow.
server = sender.Tag as duck
# Check network
string.Compare(server.GetNetwork(), net, true) != 0:
return
# Only auth if we have the correct nickname
if string.Compare(sender.Nickname, nick, true) != 0:
server.PrintNotice("AuthScript: Wrong nickname")
return
# Print info to the ServerWindow
server.PrintNotice("AuthScript: Connected to " + net + ", authing with " + bot + "...")
# Send the message (silently)
sender.SendMessage(bot, "Register " + pwd, true)Instructions
- Copy and paste the script above into the Script editor in the OptionsDialog.
- Edit nick, pwd and net to your nickname, password and network.
- Done! The script should now print "Connected to network....." in the ServerWindow at startup.
ChipzIRC, Guides, Scripts
There are no comments on this page. [Add comment]