Gammon Forum
Entire forum
MUSHclient
General
Setting a trigger to do underline or italics from a script
Setting a trigger to do underline or italics from a script
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Sil
Poland (4 posts) bio
|
Date
| Sun 21 Dec 2003 04:26 PM (UTC) |
Message
| I know I can just check appropriate boxes in the triggers configuration window, but I want my script to do that.
There are no such options in SetTriggerOption and the only method I found is writing the trigger in the script with ImportXML function with "... make_underline="y" ..." in it.
Does anybody know any other way of setting on/off the underline and italics trigger options from a script? | top |
|
Posted by
| Nick Gammon
Australia (22,985 posts) bio
Forum Administrator |
Date
| Reply #1 on Sun 21 Dec 2003 09:11 PM (UTC) |
Message
| You are right, that seems to be the only way.
However it isn't that hard to do. You can make an example trigger in the GUI interface, click the "copy" button to get a template on the clipboard, and use that as an example of what to use in the ImportXML function. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Sil
Poland (4 posts) bio
|
Date
| Reply #2 on Mon 22 Dec 2003 (UTC) Amended on Mon 22 Dec 2003 12:19 AM (UTC) by Sil
|
Message
| Thanks for the info.
I know it isn't that hard, it's just kind of inconvenient because it involves a lot of typing.
Wouldn't it be nice if you add SetTriggerOption - make underline/italics to your "to do in the next version" list? :) | top |
|
Posted by
| Nick Gammon
Australia (22,985 posts) bio
Forum Administrator |
Date
| Reply #3 on Mon 22 Dec 2003 12:39 AM (UTC) |
Message
| Added as suggestion #504. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Sil
Poland (4 posts) bio
|
Date
| Reply #4 on Mon 22 Dec 2003 12:49 AM (UTC) |
Message
| Thanks a lot :) | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,878 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.