/ignore $nick works. It's probably something else in your code that doesn't work. Or maybe it's your connection.
It works in the one I made.
you need to use .ignore -p $nick for private (whisper)
p = private, c = channel, n = notice, t = ctcp, i = invite, k = control codes, d = dccs
-w makes it apply to any network eg /ignore -wp $nick
would ignore that nick on any network but only in private message
My code does NOT have bugs. It just develops random features.
Well this is my code & Travis is right maybe it is the connection I am using Tewls. This is the code i am currently working on.
raw WHISPER:*: {
if ($nick isop $chan) { return }
var %i = $lines(query-ignore.txt)
while (%i) {
if ($read(query-ignore.txt,%i) isin $1-) {
.ignore -pw $nick
.closemsg $nick
}
dec %i
}
}
Either that or your comparison isnt checking true.
Sign in to reply or start a new topic where your account has permission.