diff options
| author | dx | 2015-11-25 11:46:27 -0300 |
|---|---|---|
| committer | dx | 2015-11-25 11:46:27 -0300 |
| commit | 43aa412ae782064f5d9bca61a3c7ba787dbed6d6 (patch) | |
| tree | 817852b81f640d9ae76545acc70b8efe7ab0130f | |
| parent | d172b88200c6a1d78ec40bcbbd08463277687960 (diff) | |
| parent | 3788aa4479ae8290b8bc6302c762aa95183e7bfe (diff) | |
| download | scripts.irssi.org-43aa412ae782064f5d9bca61a3c7ba787dbed6d6.tar.bz2 | |
Merge pull request #183 from vague666/vague_documentation
Added documentation to intercept.pl
| -rw-r--r-- | scripts/intercept.pl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/intercept.pl b/scripts/intercept.pl index b798950..afb8b01 100644 --- a/scripts/intercept.pl +++ b/scripts/intercept.pl @@ -1,4 +1,15 @@ # Some elements borrowed from ideas developed by shabble@freenode(https://github.com/shabble/irssi-docs/wiki ) +# +# You can change what intercept.pl considers a linestart by setting +# /set intercept_linestart to a regular expression that fits your needs. +# For most, a simple whitespace or . pattern will stop most accidental +# inputs. +# +# You can also tell which patterns should be ignored, for example +# /set intercept_exceptions s/\w+/[\w\s\d]+/ wouldn't consider +# s/word a mistyped command if it is followed by a slash, string of +# valid characters and a final slash. +# You can enter several patterns separated by a space. use strict; use warnings; @@ -8,7 +19,7 @@ use Irssi; use vars qw($VERSION %IRSSI); -$VERSION = "0.1"; +$VERSION = "0.2"; %IRSSI = ( authors => "Jari Matilainen", contact => 'vague!#irssi@freenode on irc', |
