mIRC Home    About    Download    Register    News    Help

Print Thread
This code snippets is not work, help me plz! Thank #267315 21/05/20 04:16 PM
Joined: May 2020
Posts: 18
K
Kendy Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: May 2020
Posts: 18
When someone in the room uses the command op / halfop / voice / devoice, it will msg to another room. But this code below is not work. Someone can fixed it for me. Thanks all

on *:mode:#: {
if ($rcheck($network,%serv1,$chan1,%chan1)) { relay %serv2 msg %chan2 3 $+ ( $+ $network $+ ) $nick sets mode: $1- }
elseif ($rcheck($network,%serv2,$chan2,%chan2)) { relay %serv1 msg %chan1 3 $+ ( $+ $network $+ ) $nick sets mode: $1- }
}

Re: This code snippets is not work, help me plz! Thank [Re: Kendy] #267317 21/05/20 06:06 PM
Joined: Feb 2011
Posts: 351
K
KindOne Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 351
Looks like a modified version of this, http://hawkee.com/snippet/7416/


Replace $chan1 and $chan2 with $chan


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: This code snippets is not work, help me plz! Thank [Re: Kendy] #267344 09/06/20 04:30 PM
Joined: May 2020
Posts: 18
K
Kendy Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: May 2020
Posts: 18
I did it myself, it turns out my server is
on *: rawmode: #: rather than on *: mode: #:
It's work well. Thanks all