Thanks for the reply Nick,
To add some more substance I'm trying to modify the Slow_Speedwalk plugin to add steps from that plugin to the auto-Mapper (so I can retrace steps).
The issue I'm coming into is that "walk_lines" in the plugin, although recognized as a type string isn't cooperating with any of my code trying to read it as such (that is why the example above was giving empty directions).
What I would like to achieve is the following in the Slow_Speedwalk.xml plugin.
Quote:
-- send the speedwalk
reverse_dirs = {north = "south", south = "north", west = "east", east = "west"}
Send (walk_line)
AddToMapper(walk_line, reverse_dirs[walk_line])
I was wrong in thinking AddtoMapper was broken, it is my understanding of lua that is, as always - not up to standard :)
As a side note, is there a way to edit the "standard directions" inside MUSHclient. I know I can add a special step via DoMapperSpecial but is there a way to the NWES directions to include (in/out) or should I just use an alias to achieve that?