I am using a modified version of A Simple Mapper and it only maps when a command is sent to move. Is it possible to also have it map based off another type of movement where a command is not entered? Specifically, when following in a group.
An example of what I want it to trigger on: You follow Bart southwest.
Secondly, I tried adding the skill sneaking to valid commands but I ended up with errors.
Maybe it has something to do with the spaces?
Thank you.
Edit: fixed code boxes and put in error message.
An example of what I want it to trigger on: You follow Bart southwest.
Secondly, I tried adding the skill sneaking to valid commands but I ended up with errors.
valid_direction = {
n = "n",
s = "s",
e = "e",
w = "w",
u = "u",
d = "d",
ne = "ne",
sw = "sw",
nw = "nw",
se = "se",
north = "n",
south = "s",
east = "e",
west = "w",
up = "u",
down = "d",
northeast = "ne",
northwest = "nw",
southeast = "se",
southwest = "sw",
['in'] = "in",
out = "out",
-- sneak n = "sneak n",
-- sneak s = "sneak s",
-- sneak e = "sneak e",
-- sneak w = "sneak w",
-- sneak up = "sneak up",
-- sneak down = "sneak down",
-- sneak ne = "sneak ne",
-- sneak sw = "sneak sw",
-- sneak nw = "sneak nw",
-- sneak se = "sneak se",
} -- end of valid_direction
Compile error
Plugin: Shattered_Isles_Mapper (called from world: Shattered Isles)
Immediate execution
[string "Plugin"]:72: '}' expected (to close '{' at line 49) near 'n'
Error context in script:
68 : southeast = "se",
69 : southwest = "sw",
70 : ['in'] = "in",
71 : out = "out",
72*: sneak n = "sneak n",
73 : sneak s = "sneak s",
74 : sneak e = "sneak e",
75 : sneak w = "sneak w",
76 : sneak up = "sneak up",
[WARNING] C:\Program Files (x86)\MUSHclient\worlds\plugins\mapper.xml
Line 81: Error parsing script (Cannot load)
Maybe it has something to do with the spaces?
Thank you.
Edit: fixed code boxes and put in error message.