The irc server I use requires me to register the name of the bot (by msg nickserv). The I can give some sort of access to the bot in that chan.
Basically the chan has people in it pretty much all the time so if the bot goes offline it can not be an op if irc server or another user does not op the bot again.
The message needs to be sent from the bot itself to nickserv initially and also it needs to be sent to nickserv everytime the bot logs in the irc server and join the chan. This will give +o to the bot automatically.
I have found the scripts to identify the bot to nickserv so part of my problem is solved. Now I only need the script to register the nick. Even a script that I load once, do the registration and then remove the script.
Did speak a bit too soon.
What I need is a script that will execute a /msg command as soon as the bot joins the irc server. Can anyone help me with this?
if it's a global variable, you don't need to change user's code
if it's not global, make it global or substitute [putquick] from user's code with the appropriate proc name, noting that the proc will be called with one argument - event type
What I am talking about is the :message part from "PRIVMSG target :message";#}
My actual message contains a few $ characters in it (is a password) so the script think is a variable (but is not is just a password). How can I fix this?