MXP problem

Posted by Thalor on Wed 14 Jul 2004 08:27 PM — 3 posts, 14,569 views.

#0
Greets,
I'm trying to have two commands be executed at once.
the MXP for it is the following.

write_to_buffer( d, MXPTAG
("!ELEMENT Dellinks \"<send href='goto &vnum;&#59;&dir delete' "
"hint='DeleteLink &dir;'>\" "
"ATT='vnum dir'"),
0);


When I click on it it only does the first one (goto &vnum)

When I RIGHT click and activate it it does the first one (goto &vnum) and ATTEMPTS to do the second (&dir delete)

HOWEVER it doesnt translate it. so the debug shows...

goto 1900
&direction delete

This is an odd one. Any help would be nice!

Thanks
Thalor
Australia Forum Administrator #1
Quote:

'goto &vnum;&#59;&dir delete'


I think you are missing a semicolon here, it should be:


'goto &vnum;&#59;&dir; delete' 
                     ^


I don't think you need to use &#59; to put a semicolon in either, they only have significance inside an entity. This should work:


'goto &vnum;;&dir; delete'


#2
That did it! Thanks!. Sometimes the smallest things.....

Thalor.