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
rhombur
Beginner


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Thu Oct 13, 2005 5:58 pm   

custom html links
 
the game i play has a website, and i would like to know if there is a way
to make a custom link to a players name that would link me to his registry. Now that i'm actually writing this out here, i'm thinking it might be a little too complicated, but some general information would rule so i could play around with it. I remember seeing somewhere that you could use HTML in zmud... well... i've clearly not thought about this too much.
i searched through the index for the syntax for this, i was certain you can, but id like to know if what i'm trying to do is impossible or not.
_________________
Niax Rhasu
Reply with quote
rhombur
Beginner


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Thu Oct 13, 2005 6:00 pm   
 
to give an example of how a players name is set up in zmud:

[60 :180 M HlfLg Pries Castle] Rhombur [xXx]

id want just his name as a hyperlink to his registry.
_________________
Niax Rhasu
Reply with quote
OmegaDeus
Apprentice


Joined: 14 Sep 2005
Posts: 121

PostPosted: Thu Oct 13, 2005 6:32 pm   
 
pattern:
~[(*)~] &player ~[(*)~]

value:
#SUBSTITUTE {~[%1~] ~<A 'link to registry using the @player variable where needed'>@player~</A> ~[%3~]}

this is untested and based off of a script i found to make any link show up as a real hyperlink, but it should at least be able to get you pointed in the right direction. additionally you could replace all the @players in the value with %2 and replace &player with (*) to not have it put into a variable and just used inside the script
_________________


Look at me I've got zSKILLS
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