]> git.99rst.org Git - irssi-scripts.irssi.org.git/commit
trigger.pl: various improvements
authorDoug Freed <redacted>
Tue, 1 Aug 2017 03:01:45 +0000 (23:01 -0400)
committerGitHub <redacted>
Tue, 1 Aug 2017 03:01:45 +0000 (23:01 -0400)
commitbd56a48dee55379e4e8a50ae38aa7081ea4cdc21
tree54ce2d8b528cb4315970df8650666a4d44138230
parenta76ec9518ac2321ab8091c88978fddb32e4e7505
trigger.pl: various improvements

* Allow notify trigger types to use -masks

They have masks, so allow matching them.

* Allow matching old nick using -other_masks for nick changes

Matching the old nick has its uses, so shoehorn it under -other_masks.

* Add -last option; if trigger with this option matched, doesn't
  process any more triggers for that message

Useful if the trigger's action does something like kickban or akill.

* Allow moving triggers entirely by name

Useful for programmatic rearranging of triggers, as you don't need to
know the number of the target.  First trigger will be placed before
second trigger.  (Goes well with -last, too)
scripts/trigger.pl
git clone https://git.99rst.org/PROJECT