[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  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] Refresh page


Posted by Sil   Poland  (4 posts)  [Biography] 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?
[Go to top] top

Posted by Nick Gammon   Australia  (22,985 posts)  [Biography] 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
[Go to top] top

Posted by Sil   Poland  (4 posts)  [Biography] 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? :)
[Go to top] top

Posted by Nick Gammon   Australia  (22,985 posts)  [Biography] 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
[Go to top] top

Posted by Sil   Poland  (4 posts)  [Biography] bio
Date Reply #4 on Mon 22 Dec 2003 12:49 AM (UTC)
Message
Thanks a lot :)
[Go to top] 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] Refresh page

Go to topic:           Search the forum


[Go to top] 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.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]