.. _plugin-messageparser: The MessageParser plugin ======================== .. _command-show: show [] [--id] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Looks up the value of ** in the triggers database. ** is only necessary if the message isn't sent in the channel itself. If option *--id* specified, will retrieve by regexp id, not content. .. _command-lock: lock [] ^^^^^^^^^^^^^^^^^^^^^^^^^ Locks the ** so that it cannot be removed or overwritten to. ** is only necessary if the message isn't sent in the channel itself. .. _command-rank: rank [] ^^^^^^^^^^^^^^^^ Returns a list of top-ranked regexps, sorted by usage count (rank). The number of regexps returned is set by the rankListLength registry value. ** is only necessary if the message isn't sent in the channel itself. .. _command-unlock: unlock [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unlocks the entry associated with ** so that it can be removed or overwritten. ** is only necessary if the message isn't sent in the channel itself. .. _command-vacuum: vacuum [] ^^^^^^^^^^^^^^^^^^ Vacuums the database for **. See SQLite vacuum doc here: http://www.sqlite.org/lang_vacuum.html ** is only necessary if the message isn't sent in the channel itself. First check if user has the required capability specified in plugin config requireVacuumCapability. .. _command-info: info [] [--id] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Display information about ** in the triggers database. ** is only necessary if the message isn't sent in the channel itself. If option *--id* specified, will retrieve by regexp id, not content. .. _command-list: list [] ^^^^^^^^^^^^^^^^ Lists regexps present in the triggers database. ** is only necessary if the message isn't sent in the channel itself. Regexp ID listed in paretheses. .. _command-remove: remove [] [--id] ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Removes the trigger for ** from the triggers database. ** is only necessary if the message isn't sent in the channel itself. If option *--id* specified, will retrieve by regexp id, not content. .. _command-add: add [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Associates ** with **. ** is only necessary if the message isn't sent on the channel itself. Action is echoed upon regexp match, with variables $1, $2, etc. being interpolated from the regexp match groups.