<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xsl/command.xsl"?>
<command xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/command.xsd">
  <name>re_trigger</name>
  <description>when used w/o parameter, prints a list of all triggers; when regexp is not defined prints options set for rt_name trigger; otherwise creates or changes rt_name trigger.</description>
  <syntax>re_trigger [rt_name [regexp]]</syntax>
  <arguments>
    <argument>
      <name>rt_name</name>
      <description>re_trigger name</description>
    </argument>
    <argument>
      <name>regexp</name>
      <description>regexp defines which messages (or whatever) will activate a trigger. The client uses the PCRE library (Perl-compatible regular expression library). You can find information how to write regexps in the PCRE's documentation.</description>
    </argument>
  </arguments>
</command>
