I can' seem to get ignore to work correctly
No doubt im doing it completly wrong but Ive searched the forums here and so far allthough helpfull i still havent found the answer
What I want is a simple trigger driven ignore script
!stop on nick = ignore on
!stop off nick = off
I tried the following but seem to turn ignore on for all not just the person in question
on *:text:!stop *:#: {
if ($nick !isop $chan) { halt }
if ($2 == on) && ($3 != $null) {
set %nick $3
.ignore -pcnd $address(%nick, 9)
.msg $chan ignoring $3 $address($3,9) Reason: $4!
/echo -a %nick has been ignored for $4
}
if ($2 == off) && ($3 != $null) {
/ignore -r $address($3, 9)
.msg $chan ignoring on $3 is now off!
}
if ($3 == $null) {
msg $chan Have we forgotten something $nick $+ ?
}
}