mtr / modifytrigger           Modifies a trigger
 
   Format:
      ;mtr <switches>         Modifies a trigger
 
   Notes:
      Triggers are one of five types of Axmud interface (the others being
         aliases, macros, timers and hooks).
      Triggers allow you to react automatically to text received from the world.
         The reaction can have one of three forms: the trigger can execute an 
         instruction (including world commands, forced world commands, client 
         commands, echo commands, Perl commands, script commands and multi
         commands) or it can split a line into two (a 'splitter' trigger), or it 
         can change the way the received text is displayed in the 'main' window 
         (a 'rewriter' trigger), 
      This command modifies the attributes of an existing 'inactive' trigger 
         (one associated with a particular profile) and its corresponding 
         'active' trigger, if there is one.
      It's also possibly to modify the active trigger directly, in which case, 
         the changes won't apply to the parent inactive trigger (and will only 
         last for the session, or until the active trigger is deleted).

      <switches> allows you to define which trigger (and which of its 
         attributes) should be modified.

      To modify the active trigger directly, one of the following (group 0) 
         switch options must be used:
         -i <name>            - Modifies the active trigger <name>
         -i <number>          - Modifies the active trigger <number>
      However, to modify the inactive trigger (and the active trigger based on 
         it, if there is one), one of the following (group 1) switch options  
         must be used instead:
         <name>               - Modifies trigger belonging to the current world
         <name> -w            - Modifies trigger belonging to the current world
         <name> -r            - Modifies trigger belonging to the current race
         <name> -g            - Modifies trigger belonging to the current guild
         <name> -c            - Modifies trigger belonging to the current char
         <name> -x <category> - Modifies trigger belonging to the current custom
                                   profile <category>
         <name> -d <prof>     - Modifies trigger belonging to the profile named
                                   <prof>

      One or more of the following group 2/3 switch options must be used.
      Group 2 switch options: 
         -s <pattern>         - Modifies the 'stimulus' attribute (a regex)
         -p <instruction> / -p <substitution>  
                              - Modifies the 'response' attribute (an 
                                   instruction, or a substitution for 'rewriter'
                                   triggers)
      Group 3 switch options: 
         -e <boolean>         - Modifies the 'enabled' attribute (1 or 0)
         -ir <boolean>        - Modifies the 'ignore_response' attribute (1 or
                                   0)
         -sp <boolean>        - Modifies the 'splitter' attribute (1 or 0)
         -sa <boolean>        - Modifies the 'splitter' attribute (1 or 0)
         -ks <boolean>        - Modifies the 'keep_splitting' attribute (1 or 0)
         -rw <boolean>        - Modifies the 'rewriter' attribute (1 or 0)
         -rg <boolean>        - Modifies the 'rewrite_global' attribute (1 or 0)
         -o <boolean>         - Modifies the 'ignore_case' attribute (1 or 0)
         -a <boolean>         - Modifies the 'gag' attribute (1 or 0)
         -l <boolean>         - Modifies the 'gag_log' attribute (1 or 0)
         -pr <boolean>        - Modifies the 'need_prompt' attribute (1 or 0)
         -lg <boolean>        - Modifies the 'need_login' attribute (1 or 0)
         -k <boolean>         - Modifies the 'keep_checking' attribute (1 or 0)
         -dp <boolean>        - Modifies the 'default_pane' attribute (1 or 0)
         -pn <string>         - Modifies the 'pane_name' attribute (a string)
         -t <boolean>         - Modifies the 'temporary' attribute (1 or 0)
         -cd <number>         - Modifies the 'cooldown' attribute (0 or above)
         -m <mode>            - Modifies the 'style_mode' attribute (-2, -1, 0  
                                   or 1+)
         -h <colour>          - Modifies the 'style_text' attribute (0 or an  
                                   Axmud text colour tag - standard, xterm or 
                                   RGB)
         -j <underlay>        - Modifies the 'style_underlay' attribute (0 or an  
                                   Axmud underlay colour tag - standard, xterm
                                   or RGB)
         -it <style>          - Modifies the 'style_italics' attribute (0, 1 or
                                   2)
         -u <style>           - Modifies the 'style_underline' attribute (0, 1 
                                   or 2)
         -bs <style>          - Modifies the 'style_blink_slow' attribute (0, 1
                                   or 2)
         -bf <style>          - Modifies the 'style_blink_fast' attribute (0, 1
                                   or 2)
         -q <style>           - Modifies the 'style_strike' attribute (0, 1 or 
                                   2)
         -lk <style>          - Modifies the 'style_link' attribute (0, 1 or 2; 
                                   default is 0)
      N.B. The 'name' attribute can't be modified.

      Group 4 switch options (only modify the inactive trigger, so can't be 
         used with the -i switch):
         -b <name>            - This trigger is checked before triggers called
                                   <name> (when they both become active)
         -y <name>            - This trigger is not checked before triggers 
                                   called <name> (when they both become active)
         -f <name>            - This trigger is checked after triggers called
                                   <name> (when they both become active)
         -z <name>            - This trigger is not checked after triggers 
                                   called <name> (when they both become active)

   General interface notes:
      If <instruction>, <pattern>, <string> or <substitution> contain 
         whitespace, they must be enclosed by diamond brackets
         
            e.g. <You see (.*) exits>
            
      <boolean> can be typed as 1 or 0, or any word beginning with t, T, f or F

   User commands:
      mtr / modtrig / modtrigger / modifytrig / modifytrigger
