Hyperlinks: Difference between revisions
Jump to navigation
Jump to search
Created page with 'A small trigger, yes, but ever so helpful. This figures out when text is a URL and makes it a clickable link. <nowiki>#TRIGGER {(%q)({http://|ftp://|telnet://|www}%x)(%q)} {#SU…' |
(No difference)
|
Revision as of 05:08, 7 April 2010
A small trigger, yes, but ever so helpful. This figures out when text is a URL and makes it a clickable link.
#TRIGGER {(%q)({http://|ftp://|telnet://|www}%x)(%q)} {#SUBSTITUTE {~<A '%quote(%2)'>%1%2%3~</A>}}
That way, when you see something on the mud like:
His homepage can be found at http://www.nelkum.com
It becomes a link! You can click it!
His homepage can be found at http://www.nelkum.com