Comment 1 for bug 416111

Revision history for this message
odbrazen (odbrazen) wrote :

to add a trigger
@trigger('your regexp here', 'this gets executed as if typed in the entry box', listen=1, no_ansi=True)
the options are passed to the catcher.REMatch.__init__ so for one-shot triggers include count=1, for muffles use muffle=True, etc

added the '#triggers ' command which can be used to list/delete triggers created with the @trigger command.