Okay, I've been poking at this for the last 48, using Google and whatever help resources (not many) that I can find. What I am trying to do is customize my exit and contents display for my game but still have it output valid pueblo links for clicking to look and move, etc.
I have my code correct for the links, because when I copy the output (which comes out showing the HTML code as well as the data) and @emit/html on my TinyMUSH MUSHclient is happy to parse it and give me viable links.
What's happening when I put it into @exitformat/@conformat is that the html characters (<,>,&,") are getting escaped and so the client isn't parsing the text as MXP but as raw mud text. What I am trying to figure out is how to unescape the characters. I tried url_unescape and html_unescape with no success in my code, and also setting the attribute to html and seeing if it would stop it from doing it. Again, no luck.
Here's what I'm trying:
[url_unescape([sort([iter(%0,<a xch_cmd="[name(##)]">[name(##)]</a>,,|)],a,|,%B%B)])]
It outputs the links in the correct format, but again, is still escaping the characters. Has anyone seen this before? I'm using Tiny 3 and I think the server is running Pueblo 1.0 right now.
- Serja
Archwiz
Beyond the Shell |