Hyperlinks: Difference between revisions

From RoDpedia
Jump to navigation Jump to search
Dunec (talk | contribs)
No edit summary
Blithe (talk | contribs)
No edit summary
 
Line 12: Line 12:


[[Category:Tokai]]
[[Category:Tokai]]
[[Category:Triggers]]
[[Category:Triggers]]
[[Category:Scripts]]

Latest revision as of 05:46, 6 July 2023

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