Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: 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
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: 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.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net