|
boblinski Novice
Joined: 05 Dec 2005 Posts: 49 Location: New Zealand
|
Posted: Sat Jul 20, 2019 1:28 am
MXP for paths |
Hello again, hopefully another thread is okay!
I am wanting to show-up some of my paths when I reach the start/end point of said paths.. and I was hoping to make them clickable..
Firstly, #MXP does not seem to be working whatsoever with paths.. for example I have a path set to "2mines".. when I set:
#TR {South GATE} {#MXP <send><color cyan>.2mines</send></color>}
The writing shows up and I can click it... but instead it just sends the word "2mines" to the mud which returns "Huh?"
Secondly, I managed to get it working for "#sl .2mines" but #sl ..2mines" (the reverse path) does not work.
Examples:
#MXP <send><color cyan>.2mines</send></color>
returns: ".2mines" resulting in "Huh?"
#MXP <send><color cyan>#sl ..2mines</send></color>
returns: "2mines" resulting in "Huh?" and eventually "Slow walking aborted"
#MXP <send><color cyan>..2mines</send></color>
returns: "..2mines" resulting in "Huh?" |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sat Jul 20, 2019 2:53 am |
You need to open and close your tags in the correct order.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
boblinski Novice
Joined: 05 Dec 2005 Posts: 49 Location: New Zealand
|
Posted: Sat Jul 20, 2019 8:11 am |
#mxp <send>..2mines</send>
Even this still results in a clickable ".. 2mines" but when clicked it just sends a literal "..2mines" to the mud which results in "Huh?" and no movement.. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sat Jul 20, 2019 11:40 am |
If you use the map you could pass #SL a %roomnum, and let the mapper find its own shortest route.
or try:
#EXEC {..2mines} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
boblinski Novice
Joined: 05 Dec 2005 Posts: 49 Location: New Zealand
|
Posted: Sun Jul 21, 2019 4:26 am |
Code: |
#MXP <send>#EXEC {..2mines}</send> |
result
Code: |
ERROR: Trigger "South GATE" fired but did not compile |
If I drop the #MXP and simply use:
Code: |
#TR {South GATE} {#EXEC {..2mines}} |
But then it fires every time I enter South GATE, which I don't want to happen for multiple reasons! |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun Jul 21, 2019 6:41 pm |
Try the %roomnum method?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
boblinski Novice
Joined: 05 Dec 2005 Posts: 49 Location: New Zealand
|
Posted: Sun Jul 21, 2019 11:36 pm |
shalimar wrote: |
Try the %roomnum method? |
Using the mapper? I don't use the mapper.. |
|
|
|
|
|