The trigger editor is involked by either clicking on an existing trigger in the profile manager or clicking in white space below defined triggers in the profile manager.
Clicking the save button after editing triggers saves them to file and memory.
The trigger dialog box is a simple box with 2 textboxes for you to type trigger information.
Trigger textbox
You define what the mud looks for in this box. Ex: You are hungry
Action textbox
You define what the client does when it sees the trigger text. Ex: eat waybread to send multiple actions simply seperate them with semicolons ;.
Trigger Variables
you can use variables in the trigger box.
in the trigger textbox you insert an astric * were you want the variable captured.
in the action box you type %1 to %6 were you want the captured variable to be used.
The client will only support up to 6 variables at this time, it is planned to up this to 9. Using a variable beyond the max may cause the client to crash.
Example Trigger: * enters from the north Action: say hi %1
with this trigger defined if the client sees the text Tom enters from the north it would send hi Tom to the mud.
Trigger: * drinks water from the * Action: say %1 how the water from the %2
If Mary drinks water from the fountain is seen it would send Mary how the water from the fountain
Triggers require some experimentation.