mIRC Home    About    Download    Register    News    Help

Print Thread
Problem with mirc command #256590 30/01/16 04:04 AM
Joined: Jan 2016
Posts: 1
M
mrhelios Offline OP
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jan 2016
Posts: 1
Hello,
i try to write a script command for the twitch.tv irc chat. The bot should whisper someone if he joins the chatroom. The problem is that the whisper chat is on a different server and channel than the chatroom where the person joins.

When user(a) joins channel(a) on server(a) the bot should send a message to user(a) on server(b) in channel(b).

I tried it with the following command but that just works if the channels are on the same server.
on *:join:#: { msg #channel(b) .w $nick Texmessage }


Is that possible to realize with a mirc script? Or do I need to find someone who can code it in something like python.

I hope you understand my problem and you can help me


Regards and Thanks

Re: Problem with mirc command [Re: mrhelios] #256792 16/02/16 02:35 AM
Joined: Nov 2013
Posts: 22
funfare Offline
Ameglian cow
Offline
Ameglian cow
Joined: Nov 2013
Posts: 22
check out this thread:

http://forums.mirc.com/ubbthreads.php/topics/243475/Relaying_messages_to_(a)_diffe

you need to make use of the 'scid' function. there are examples in the above thread that can do what you are looking for.

Last edited by funfare; 16/02/16 02:35 AM.