Jump to content

Ignore Question


CharmedOne

Recommended Posts

Guest Travis

/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 by Travis
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 
  } 
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...