Skip to content
Buzzen Chat Network

Ignore Question

A TG007 community discussion started by CharmedOne.

Discussion 5 posts
Page 1 of 1
Open
Topic #12389 · 5 published posts · 1,323 views
.ignore $nick dosent work. I also tried .ignore -u5 $nick & .ignore $active $nick & also .ignore $chan $nick but people can still whisper me what am I doing wrong? :pizza:
Edited Apr 3, 2009 10:43 AM by CharmedOne

/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.

Edited Apr 3, 2009 11:05 AM by Travis

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

Edited Apr 3, 2009 12:14 PM by Ozzy10

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.