Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ MXP and Pueblo ➜ mxp clickable exits

mxp clickable exits

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Modnar   (7 posts)  Bio
Date Sun 17 Nov 2002 05:50 AM (UTC)
Message
We've just (in the last month) added mxp to our Rom2.4 derived mud. I've been busy with other projects so haven't done much with it except using those great extended colors :). Everything works as it should with the telnet negotiotian, character substitution, etc. but i am having a problem getting the clickable exits to work. this is the element i define in turn_on_mxp()

write_to_buffer( d, MXPTAG("!ELEMENT Ex \"<send href='&dir;' hint='Go &dir;.'\" ATT='dir'"),0);

and this is the line that gets sent with an exit

sprintf(buf, MXPTAG("Ex '%s'")"%s"MXPTAG("/Ex"), dir_name[door], capitalize(dir_name[door]));

this displays correctly and sends the right command on click to zmud users, but not to mushclient users. i suppose its unbalanced somehow or the syntax isn't quite right. can i have a tip on fixing this? if i've left any important info out just let me know :)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 17 Nov 2002 06:16 AM (UTC)
Message
In the MXP configuration page set the debug level to Information, and try it. Please report any relevant messages from the debug window.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 17 Nov 2002 07:40 AM (UTC)
Message
Off the top of my head you don't seem to close the <send> tag. Try this:


write_to_buffer( d, MXPTAG("!ELEMENT Ex \"<send href='&dir;' hint='Go &dir;.'>\" ATT='dir'"),0);

Note the ">" symbol I added to the <send> tag.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Modnar   (7 posts)  Bio
Date Reply #3 on Mon 18 Nov 2002 06:40 AM (UTC)
Message
thats exactly what it was, thanks :)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,059 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.