|
Smooth Beginner
Joined: 05 Aug 2002 Posts: 25
|
Posted: Wed Feb 18, 2004 1:15 pm
Parsing URLs in zmud |
Is there a way to have zMUD parse a url sent by a mud and convert it into a clickable hyperlink? I've messed around a bit with triggers and scripting before, but I'm not really sure how I would go about this. Thanks.
|
|
|
|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Wed Feb 18, 2004 3:00 pm |
There is an old post on making the url clickable
see
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=13372
i slightly changed it to
#TRIGGER {({http|ftp|telnet}://%x)} {#SUBSTITUTE {~<A %replace(%1,"'","")>%1~</A>}}
This was so if it was the last thing typed on the line it would remove the quote making the link work still.
If you capture your info make sure you enter the trigger into the capture windows setting also |
|
|
|
|
|