Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 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  (23,158 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  (23,158 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.


13,738 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.