mIRC Home    About    Download    Register    News    Help

Print Thread
#103931 27/11/04 03:19 PM
Joined: Nov 2004
Posts: 2
E
eggoman Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Nov 2004
Posts: 2
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- ) }}

Last edited by eggoman; 27/11/04 03:32 PM.
#103932 27/11/04 07:49 PM
Joined: Aug 2004
Posts: 16
I
Pikka bird
Offline
Pikka bird
I
Joined: Aug 2004
Posts: 16
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


Regards,
KathY
#103933 28/11/04 02:31 AM
Joined: Nov 2004
Posts: 2
E
eggoman Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Nov 2004
Posts: 2
thanks alot but i received a line from sone elsemuch less complicated that works but thatnk you for your efforts!
eggo


Link Copied to Clipboard