Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
khranim
Newbie


Joined: 05 May 2006
Posts: 4

PostPosted: Fri May 05, 2006 6:17 pm   

html trigger
 
Awhile ago I had a friend create a trigger for me that would create an in-window hyperlink when a URL was displayed in the main window. For some reason, perhaps after a zmud upgrade, the trigger stopped working, and now I see nothing, not the original text, not the hyperlink, simply blank space where the URL would be.

Here is the trigger as I have it

#TRIG {(%q)({http|ftp|telnet}://%x)(%q)} {#SUB {~<A '%quote(%2)'>%1%2%3~</A>}}

I didn't write it, so I'm not exactly sure what's gone wrong but it looks okay to me.
Any ideas why it would return a blank line?
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Fri May 05, 2006 11:16 pm   
 
It works perfectly in a blank mud window, some of your preference may be messing it up.
_________________
Taz :)
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Sat May 06, 2006 5:49 am   
 
if the line ends in a period it might mess up, that was always my problem with a url capture
_________________
Discord: Shalimarwildcat
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Sat May 06, 2006 9:41 am   
 
I just tried that in a blank mud window and yes if the address end in a period then everything but the final period is hyperlinked.
_________________
Taz :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net