Make Multi-Line Trigger
Allows you to quickly generate a multi-line trigger.
Trigger on:
Enter the multi-line text to be matched. This is automatically generated from selected text in the output window, if any. The text is converted to a regular expression, so that things like .()[] will be "escaped" with a backslash in front of it.
You do not need to enter \n for a newline, these will be generated automatically at each linebreak.
Match Case
If checked, the trigger will only match the exact case shown, otherwise it will match upper or lower-case versions of the text.
OK
When you click OK, a trigger will be added to the world's trigger list. This trigger will be:
Trigger on:
Enter the multi-line text to be matched. This is automatically generated from selected text in the output window, if any. The text is converted to a regular expression, so that things like .()[] will be "escaped" with a backslash in front of it.
You do not need to enter \n for a newline, these will be generated automatically at each linebreak.
Match Case
If checked, the trigger will only match the exact case shown, otherwise it will match upper or lower-case versions of the text.
OK
When you click OK, a trigger will be added to the world's trigger list. This trigger will be:
-
A regular expression (as required for multi-line triggers)
Multi-line, with the line count set to the number of lines in the match text
Keep evaluating (so other triggers will also match the line)
Send to output
Send the entire matching trigger ("%0")
Group as "Multi Line"
Topics
- Aliases
- Default triggers/aliases/timers/macros/colours
- Getting started
- Groups
- Plugins
- Regular Expressions
- Timers
- Triggers
Command
Functions
- (AddTrigger) Adds a trigger
- (AddTriggerEx) Adds a trigger - extended arguments
- (DeleteTemporaryTriggers) Deletes all temporary triggers
- (DeleteTrigger) Deletes a trigger
- (DeleteTriggerGroup) Deletes a group of triggers
- (EnableTrigger) Enables or disables a trigger
- (EnableTriggerGroup) Enables/disables a group of triggers
- (GetPluginTriggerInfo) Gets details about a named trigger for a specified plugin
- (GetPluginTriggerList) Gets the list of triggers in a specified plugin
- (GetTrigger) Gets details about a named trigger
- (GetTriggerInfo) Gets details about a named trigger
- (GetTriggerList) Gets the list of triggers
- (GetTriggerOption) Gets the value of a named trigger option
- (GetTriggerWildcard) Returns the contents of the specified wildcard for the named trigger
- (IsTrigger) Tests to see if a trigger exists
- (SetTriggerOption) Sets the value of a named trigger option
- (StopEvaluatingTriggers) Stops trigger evaluation