We're running a version on join help script and we're looking to stop it replying if an op joins.
my first script was basic and version'd all
on *:JOIN:#help: {
set %.ch $chan
CTCP $nick VERSION
}
on 1:CTCPREPLY:VERSION*:/onotice #help $nick is using IRC client: $2-
that works fine..
I then edited it to ...
on *:JOIN:#help: {
set %.ch $chan
if ($nick isop $chan) { halt }
else if ($nick !isop $chan)
.timer 1 3 CTCP $nick VERSION
}
on 1:CTCPREPLY:VERSION*:/onotice #help $nick is using IRC client: $2-
now on join .. i get the following error
-
* /if: insufficient parameters (line 4, script6)
-
could i have a fix please. I'm pretty sure this "used" to work on a lower series mirc.. but it will not work on my 7.57