The command can be anything say like "msg", "act", "notc", "op", "deop", "cycle" and etc for each and every one of your different bots, with different botnicks. Well this is the simplest way to do it.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Well then thats an easy case now isn't it? I suppose your bots might not be linked so, in that case, you add this script in the bot which you want ONLY to respond.
I think that is clear enough and common sense, because the ones without it, obviously won't respond to the public trigger. For this:
I mean I have say 5 bots on one channel. If I type !omg I only want one to respond ONLY in THAT channel.
I have 5 bots in a channel and I want ONLY ONE to respond to anything that I do, public or notice. Each bot has the same commands. And all respond to the same command. They all run off the same script if that helps.
I was thinking something like this at the start of a proc, to make the main bot reply only.
if {$chan == #MainChannel && $botnick != MainBot} { return 0 } REST OF SCRIPT HERE
Meaning if the chan equals MainChannel and the bots nickname is not equal to MainBot halt the script. Otherwhise if bots nickname does equal MainBot and channel equals #MainChannel continue with the script.
I have 5 bots in a channel and I want ONLY ONE to respond to anything that I do, public or notice. Each bot has the same commands. And all respond to the same command. They all run off the same script if that helps.
I was thinking something like this at the start of a proc, to make the main bot reply only.
if {$chan == #MainChannel && $botnick != MainBot} { return 0 } REST OF SCRIPT HERE
Meaning if the chan equals MainChannel and the bots nickname is not equal to MainBot halt the script. Otherwhise if bots nickname does equal MainBot and channel equals #MainChannel continue with the script.
If you are so keen in using this code, then use it correctly: