However, I'm not sure if I placed the code in the correct location... I assume this was to be placed in the config? I placed it just below set servers {}
Any assistance will be greatly appreciated
- Regards.
You have placed it in the correct location and the bot will identify to NickServ; on connect only!
Your bot is probably ignoring NickServ because of the notices services sent on connect. The solution is to add the hostmask of services to your bot as a (global) friend.
@Silence:
You've made the variable "nick" global, but use the variable "botnick" as if it was global..
Change "global nick" into "global botnick" and it should work just fine...
Hi, Thank you both for responding to assistance me.
Change "global nick" into "global botnick" and it should work just fine.
For some reason, when I use botnick the bot does not connect to the server successfully. Would this mean the setup for the bot is incorrect?
List the ignores '.ignores *' and remove the one for the network your bot is on.
I understand what you mean, however there currently are not any networks ignored. Could I possibly run the ns identify at a select time? For example, I press ctrl+i or something (send a command) and the bot runs the ns identify command?
@Silence:
Well, it means something odd is going on..
init-server bindings should'nt trigger until after your bot successfully connected to the server, so the contents of init-server script really should'nt matter unless it contains something like: putserv "QUIT" (I'm assuming it does'nt
Also, where you put it really does'nt matter, with the exception that you must put the binding after you've loaded the server-module.