|
rhombur Beginner
Joined: 13 Oct 2005 Posts: 24 Location: Illinois
|
Posted: 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 |
|
|
|
rhombur Beginner
Joined: 13 Oct 2005 Posts: 24 Location: Illinois
|
Posted: 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 |
|
|
|
OmegaDeus Apprentice
Joined: 14 Sep 2005 Posts: 121
|
Posted: 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 |
|
|
|
|
|