|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Fri Nov 06, 2009 11:04 pm
[3.12] MXP scripts broken |
Scripts that I've been using with #MXP to send the #walk command have been just outputting the directions instead of walking them, here are some examples:
#mxp {"<send '#walk 7853'>Weed Armour</send>"}
#sub {"<send '#walk "@mlist.%1";scout room'>"%1"</send>" : incomplete}}
The @mlist is a variable populated with room numbers, so if I have a prompt like:
A garden : incomplete
I click the garden and it brings me to the room, then does scout room. In anycase, these no longer work |
|
|
|
Anaristos Sorcerer
Joined: 17 Jul 2007 Posts: 821 Location: California
|
Posted: Sat Nov 21, 2009 4:12 pm |
Why not try a simplification?
Code: |
#MXP {<send 'doit %1'>%1</send>"}
|
Where doit is an alias that decodes how you want to walk to the location.
I rely on #MXP for all my walking operations and I have no problems. The exception being when the script gets compiled using the wrong scope. |
|
_________________ Sic itur ad astra. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 21, 2009 7:27 pm |
If it's just sending the directions, you probably lost the association with the English Directions package. Make sure the window where this #MXP occurs has a checkmark next to this package, and if the package is simply not even in the list use the FILE|Open... menu from the Package Editor to add it. If it doesn't exist, reinstall.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|