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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  New Hyperlink_URL2 version

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

New Hyperlink_URL2 version

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Pages: 1  2 

Posted by Worstje   Netherlands  (867 posts)  [Biography] bio
Date Reply #15 on Wed 25 Apr 2012 08:02 AM (UTC)  quote  ]
Message
.. These weeks are not my weeks. I swear I read the docs before posting... but I'm apparently very, very blind nowadays. Dooh. I guess I saw the examples and missed the notes hidden inbetween them. :(

Thanks for being patient with me. :-)
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #16 on Wed 25 Apr 2012 08:47 AM (UTC)  quote  ]
Message
It's not you Worstje, it's me.

:)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by KedarOthort   (3 posts)  [Biography] bio
Date Reply #17 on Sun 23 Dec 2012 03:11 AM (UTC)  quote  ]
Message
Where do I add that Lua option for NoUnderline to make it work?
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #18 on Sun 23 Dec 2012 03:33 AM (UTC)  quote  ]
Message
In this code:


			Hyperlink(
				hyperlinks[v.hyperlink_number].text -- Hyperlink
				,string.sub(line, v.startpoint, v.endpoint) -- Displayed text
				,"Go to " .. hyperlinks[v.hyperlink_number].text -- Hover text
				,RGBColourToName(v.textcolour) -- Foreground color
				,RGBColourToName(v.backcolour) -- Background color
				,1 -- Boolean: Open as a URL?



There are six arguments. To add the 7th, you need to add one more, eg.


			Hyperlink(
				hyperlinks[v.hyperlink_number].text -- Hyperlink
				,string.sub(line, v.startpoint, v.endpoint) -- Displayed text
				,"Go to " .. hyperlinks[v.hyperlink_number].text -- Hover text
				,RGBColourToName(v.textcolour) -- Foreground color
				,RGBColourToName(v.backcolour) -- Background color
				,1 -- Boolean: Open as a URL?
                                ,true -- NoUnderline


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by KedarOthort   (3 posts)  [Biography] bio
Date Reply #19 on Sun 23 Dec 2012 05:59 AM (UTC)  quote  ]
Message
Added that line, URL's are still being underlined...
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #20 on Sun 23 Dec 2012 07:54 AM (UTC)  quote  ]
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.


Did you re-install the plugin?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by KedarOthort   (3 posts)  [Biography] bio
Date Reply #21 on Sun 23 Dec 2012 04:26 PM (UTC)  quote  ]
Message
Nick Gammon said:

(version)

Did you re-install the plugin?


I'm on Version 4.61, and yes, I reinstalled it.
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Reply #22 on Sun 23 Dec 2012 07:10 PM (UTC)  quote  ]
Message
KedarOthort said:

Nick Gammon said:

(version)

Did you re-install the plugin?


I'm on Version 4.61, and yes, I reinstalled it.

This option was added in 4.76. Time to upgrade from your now almost 2.5 year old version.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #23 on Sun 23 Dec 2012 07:10 PM (UTC)  quote  ]

Amended on Sun 23 Dec 2012 08:12 PM (UTC) by Nick Gammon

Message
See http://www.gammon.com.au/scripts/showrelnote.php?version=4.76&productid=0

Read point 1.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


5,252 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]