mIRC Homepage
Posted By: eggoman A little help :D - 27/11/04 03:19 PM
Hey guys i have a slight problem. I have a bot in one channel that i would like to sort of relay with another bot. The other bot is in a diff channel and when you give a !command for instance the other bot responds. I would like users in my channel to be able to use that !command and have my bot relay it to the other bot and the put the response in my channel. My bot resides in both channels to simplify the communication. This is my first attempt at any irc scripting what so ever so help is greatly appreciated.
Thanks

This is the line so far, it will message the other bot and receive the response but not msg the other channel.
on *:text:!listen:#eggomanshow:{ /msg #gunstaff !listen | if {($nick == GUNServ) ( /msg #eggomanshow $1- ) }}
Posted By: inti Re: A little help :D - 27/11/04 07:49 PM
Hi!

Code:
on 1:text:!listen:#eggomanshow:{
set %listen 1
msg #gunstaff !listen
}
on 1:TEXT:*:#gunstaff:{
if ($nick == GUNServ) && (%listen) {
msg #eggomanshow $1-
unset %listen
}
}


I think, this is much to complicate, but I dont know the respond of your second bot, so i dont know to which words mirc should react.
I hope that this works and helps you.

Kathy
Posted By: eggoman Re: A little help :D - 28/11/04 02:31 AM
thanks alot but i received a line from sone elsemuch less complicated that works but thatnk you for your efforts!
eggo
© mIRC Discussion Forums