Ignore by address on input

By Alpha Atom on Jan 03, 2011

Ignores a user by their address, since obviously, it's a pain to type out /ignore !@foo.foo.foo everytime. I mean, you could just type /ignore User but that way, if they change nick, they're no longer ignored. But anyway, it works by simply typing:

.ignore NICKHERE

You can also unignore them by using:

.rignore NICKHERE

It's pretty simple, but it's also pretty useful :D

on *:INPUT:#:{
  if ($1 == .ignore) {
    /ignore $address($2,2)
    /timer -h 1 50 /echo User: $2 succesfully ignored.
  }
  if ($1 == .rignore) {
    /ignore -r $address($2,2)
    /timer -h 1 50 /echo User: $2 succesfully unignored.
  }
}

Comments

Sign in to comment.
Savage_CL   -  Jan 06, 2011

jonesy44, funny.
Jethro_, didn't notice that lol. wasn't thinking at that point. it was really late in the night.

 Respond  
Jethro   -  Jan 05, 2011

Savage_CL, you forgot to change $2 to $1 when you converted the original code to aliases. In addition, you can simply use:

/ignore $$1 2

to ignore the type 2 address, and

/ignore -r $$1 2

to remove.

 Respond  
Jonesy44   -  Jan 05, 2011

People with enormous egos generally like to state the fact that they're going to ignore someone ;)

 Respond  
Savage_CL   -  Jan 05, 2011

This uses INPUT commands which still sends the text through to the servers. I suggest aliases.

ALIAS Ignore {
ignore $address($2,2)
timer -h 1 50 /echo User: $2 succesfully ignored.
}
ALIAS unignore {
/ignore -r $address($2,2)
/timer -h 1 50 /echo User: $2 succesfully unignored.
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.