NewzNZ wrote:
...
The new bots are on a different shell provider which I purchased to run the bots on a different network.
Thanks for the reply & idea which I would like to try if that's ok?
...
Please understand - I wrote this for myself. It is not pretty.
The comments at the top were not meant to be directions for anyone else, as with a script that is distributed. They are just notes to myself.
As it is right now, it uses a bind cron, and will trigger every 10 minutes. I still use this script, however probably not on the same bot and shell server that I first created it for. I don't remember if I ever experimented with that 10 minute setting, to see if it could be extended. So, you can do that, if you wish - or need to.
You can find it, in the code.
This script works for one handle only.
You will need to find it in the code, and edit it. Change it to your handle.
There are two instances. Be sure to find and edit both. The script is not complicated, or long - so you won't have any trouble finding them.
Usage:
In partyline, to turn it on, do: .keepalive
If you want to turn it off, do: .undokeepalive
However, if you simply log off your bot, when the next time comes around to post the blank line to you, it will detect that, and unbind the cron bind, and stop. This is what I do. I doubt I ever used the .undokeepalive command more than few times, way back when I was first testing.
You can do: .binds cron and have a look anytime, to see if it's there or not.
I use miRC, and have scripts to dcc chat and log into bots. The one bot that I still use this script on now - I don't even type .keepalive by hand.
I just put it in the login script.
I hope this helps.
Please do let me know how it goes.
See link in your message box here.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !