Hello!
Look at this script. If the BRenBot is not in that channel, my bot says:"The Servers are down." But it still writes "!gi" in the #admin_chan.
How is it possible that my bot stops writing "!gi" if the BRenBot is not in the #admin_chan?
darton wrote:If the BRenBot is not in that channel, my bot says:"The Servers are down." But it still writes "!gi" in the #admin_chan.
How is it possible that my bot stops writing "!gi" if the BRenBot is not in the #admin_chan?
darton wrote:No, I already tried this. If the BRenBot was in the #admin_chan, my bot would not write "!gi" in the #admin_chan.
you wrote the opposite in your description. You might want to check spelling (case doesnt matter) of channel and nick. Consider encoding issues of characters above 127. You can also try using 'hand2nick' to also match alternate nicknames, if there is a user entry for the bot.
darton wrote:So your script does not work.
Assuming your script worked as descripted, my changed if construuction should stop your initialy described problem.