| Trigger configuration list |
|---|
| Enable Triggers If checked, all triggers are enabled (active). Enable Trigger Sounds If checked, sounds which are specified for each trigger are played when they fire. If unchecked the triggers become silent. However this does not apply to "scripted" sounds. That is, if a trigger calls a script and script calls the Sound function, that will still play. Override with default triggers If checked, next time the world is loaded your triggers are replaced with the default ones. See the help topic on "defaults" for more details. Add... Click to add a trigger. Edit... Click to edit an existing trigger. Remove Click to remove one or more selected triggers from the list. Find... Click to find a trigger based on its contents. Find Next Click to repeat the next find (find another one that matches). Load... Click to load triggers from disk. Save... Click to save selected triggers to disk. Move Up Click to move the selected trigger up the list (in other words, lower its sequence number). Move Down Click to move the selected trigger down the list (in other words, raise its sequence number). Copy Click to copy the selected trigger(es) to the clipboard in XML format. Paste Click to paste the clipboard into the trigger list. The triggers must be in XML format (such as produced by the Copy button). Only triggers will be pasted, if there are other types on the clipboard. Copy and paste is intended to allow you to get/put triggers onto the Forum, or exchange them between worlds or with other MUSHclient users. Filter by: Check to filter the visible items by the function "filter". Click on the button labelled "..." next to the "filter by" checkbox to enter the code for the scripted filter function. The filter function must be written in Lua and have a function named "filter" in the script, taking one argument which is the name (label) of the trigger. For example, to show only triggers that do "send to script": You can use GetTriggerInfo or GetTriggerOption to find out information about that trigger and work out whether to show it or not. If the function returns the boolean value "false" then the item is not shown, otherwise it is shown in the list. The filter script is saved in the world file, so you can use it again next time, however the filter flag is not remembered. You must explicitly enable it each time you want to filter the list. See Also ... Topics
Aliases
Default triggers/aliases/timers/macros/colours
Getting started
Groups
Plugins
Regular Expressions
Timers
TriggersCommand
ConfigureTriggers (Define triggers)Dialog
Edit triggerFunctions
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)(Help topic: dialog=IDD_PREFS_P8)
Documentation contents page |