mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2020
Posts: 19
K
Kendy Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: May 2020
Posts: 19
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- }
}

Joined: Feb 2011
Posts: 417
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 417
Looks like a modified version of this, http://hawkee.com/snippet/7416/


Replace $chan1 and $chan2 with $chan

Joined: May 2020
Posts: 19
K
Kendy Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: May 2020
Posts: 19
I did it myself, it turns out my server is
on *: rawmode: #: rather than on *: mode: #:
It's work well. Thanks all


Link Copied to Clipboard