Project

General

Profile

Ignore nick in specific channels

Added by no jah almost 7 years ago

HI,

is it possible to ingore a nick in specific channel on a network instead of inoring it in all channel on the network?


Replies (6)

RE: Ignore nick in specific channels - Added by Per Amundsen almost 7 years ago

Not atm, but this quick dirty script can do it:

on ^*:TEXT:*:#channel:{
  if ($nick == badnick)
    halt
  }
}

Press ALT + R (or go to Menubar -> Tools -> Edit Scripts) to open the script editor, then paste this script, change #channel with the channel name, and badnick with the nick you want to ignore.

RE: Ignore nick in specific channels - Added by Per Amundsen almost 7 years ago

If you want network and channel specific, you can use this instead:

on ^*:TEXT:*:#channel:{
  if ($network == network && $nick == badnick)
    halt
  }
}

You can type //echo $network in the channel window Editbox to get the network name.

RE: Ignore nick in specific channels - Added by no jah almost 7 years ago

Thank Per!

I used:

on ^*:TEXT:*:#channel:{
if ($network network && $nick badnick)
halt
}
}

And it works perfectly.

RE: Ignore nick in specific channels - Added by no jah almost 7 years ago

Hmm... It appears the script doesn't really work for me, all nick gets gets ignored with that script.
The only thing I see when using the script is join and quit messages.

RE: Ignore nick in specific channels - Added by Per Amundsen almost 7 years ago

I made a type, it was missing a *{* character, sorry about that.

on ^*:TEXT:*:#channel:{
  if ($network == network && $nick == badnick) {
    halt
  }
}

RE: Ignore nick in specific channels - Added by no jah almost 7 years ago

If I put it like this, in one line, it works.

on ^*:text:*:#channel:{ if ($network == network  && $nick == badnick) halt }
    (1-6/6)