I can not get services.tcl to work on gamesnet, keeps saying botnick no such variable =[
i peiced togeather this but im not a coder =[
set init-server {
putserv "MODE $botnick +i-ws"
putserv "PRIVMSG authserv@services.gamesnet.net :auth bot password
}
timer 5 reauth
proc reauth {} {
putserv "PRIVMSG AuthServ@services.gamesnet.net :auth bot password
timer 15reauth
}
would someone help me with a small script? all i need is,when theres a netsplit my bot becomes un-auth to authserv when he comes back so my bot tries to op a user and fights with chanserv cause hes not auth anymore. authserv sends a notice to the bot saying to auth. what i need is a script that will auth to authserv when he gets a notice from him. easy? I can drive 40 tons of truck but i cant seem to write 1 ounce of tcl script
any help would be greatly appreciated
thanks.
I dont know about those particular services, but here's something I knocked up quickly for a friend who wanted his bot to be an oper (sysop) and identify to nickserv (Auspice services) on an Unreal IRCd server.
You can edit this to suit your needs, the response from nickserv may be different, but other than that this should work ok.
Thanks for your post, i think i might have confused everyone, when i re-read my post i got confised =]
what im tring to to do is add to this script so i dont use the timer. Im tring to get my bot to PRIVMSG authserv@services.gamesnet.net :auth bot <password> when he recieves any notices from authserv@services.gamesnet.net and reply to a channel "my nic is authorized" I have been tring for 3 days to wright this but i cant get passed the set init-server
I'm not sure if your network is just that diffrent, but you normally do not need to (and can not) add the full host to it. If the service's nick is authserv, then PRIVMSG authserv :blah would be the correct way.
StarCat wrote:I can not get services.tcl to work on gamesnet, keeps saying botnick no such variable =[
I re-read your post and there's your problem, its not even getting to the auth command because its barfing out at the botnick variable not being there.
"Insanity Takes Its Toll, Please Have Exact Change"
what happens on gamesnet is theres a netsplit,2-3 a day, when chanserv and authserv comeback my bot is no longer authorized as a op all though he is a op in the channel still. so peeps enter and my bot tries to op them but because he is no longer authorized chanserv set -o to the user my bot oped. my bot re-ops him and chanserv -o him again and this goes on like spam in the channel. chanserv sets -o to the user my bot set +o and sends a notice to my bot you "must be a op or above to op peeps"
this is were my bot needs to re-auth. So basically my bot needs to do
putserv "PRIVMSG authserv@services.gamesnet.net :auth bot password
when ever he recieves any notice from authserv@services.gamesnet.net
My original script is working I'm just tring to get away from the timer part and trigger it on a notice.
If your network supports the WATCH command, it's even better if you have it send the auth whenever services come online. I have a little script I could post if you want. Just make sure you can do /watch +authserv and that the server tells you if it's online.
stdragon wrote:If your network supports the WATCH command, it's even better if you have it send the auth whenever services come online. I have a little script I could post if you want. Just make sure you can do /watch +authserv and that the server tells you if it's online.
typing /watch is a unknown cmd so i guess not unless theres another way i can tell?