Skip to content

[trigger.pl] -channels and -masks doesn't seem to work? #1

Description

@alshain

Hi, I'm trying not go get hilighted by a certain bot.
This is what I have tried:

/TRIGGER ADD -all -mask 'BotNick!*@*' -regexp '(al)(shain)' -nocase -replace '$1\x02\x02$2'

I can't seem to get it to work. (Yes, I want to rely on the nick only. I have also tried '!BotIdent@' but it didn't work either)
Now, what does work is this:

/TRIGGER ADD -all  -regexp '(al)(shain)' -nocase -replace '$1\x02\x02$2'

However, that serves little purpose

So I thought about disabling hilighting in a channel:

/TRIGGER ADD -all -channels #nohilight -regexp '(al)(shain)' -nocase -replace '$1\x02\x02$2'

I hope I'm doing something very wrong, because I think these functions are essential and surely somebody would have stumbled across the same problem.

Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions