A question about setting trigger options via scripting

Posted by Rivius on Fri 04 Feb 2011 01:46 PM — 2 posts, 15,697 views.

#0
Hi, I was wondering. Is there a way to change options for triggers via scripting and/or variables?

For example, I want to be able to toggle on/off "omit from output" or "bold" without having to open up the trigger dialog box and doing it manually.
USA #1
Template:function=SetTriggerOption
SetTriggerOption

The documentation for the SetTriggerOption script function is available online. It is also in the MUSHclient help file.



For example:
SetTriggerOption("triggername", "omit_from_output", "n")