This is the trigger:
This is the function:
This is an example of the problem:
Go to City of Aylor (recall), type "rt farm", and you'll be getting these:
Starlight Way - East (4198)
Eastern High Road (4198)
The Tothmeer Trail (4189)
and so on...
As shown, the trigger should match only "Eastern High Road", not "Eastern High Road (4198)", and the trigger behaves when I'm not speedwalking.
However, while I'm speedwalking, the trigger would call test() after "Eastern High Road (4198)" shows up, but it wouldn't call print("%0"), which is in the send box. It seems as if the trigger was both called and not called. Isn't this nuts? :D
I've tested on various strings and trigger options and got the same result. Screenshot: http://imgur.com/jdOng.png
Environment:
MC 4.33 (Yes, punch me for being lazy... I hope the problem does not happen in the newer versions)
Lua 5.1
Windows XP
<triggers>
<trigger
enabled="y"
match="\AEastern High Road\Z"
name="test"
regexp="y"
script="test"
send_to="12"
sequence="100"
>
<send>print("%0")</send>
</trigger>
</triggers>
This is the function:
function test()
print ("testing...")
end
This is an example of the problem:
Go to City of Aylor (recall), type "rt farm", and you'll be getting these:
Starlight Way - East (4198)
Eastern High Road (4198)
The Tothmeer Trail (4189)
and so on...
As shown, the trigger should match only "Eastern High Road", not "Eastern High Road (4198)", and the trigger behaves when I'm not speedwalking.
However, while I'm speedwalking, the trigger would call test() after "Eastern High Road (4198)" shows up, but it wouldn't call print("%0"), which is in the send box. It seems as if the trigger was both called and not called. Isn't this nuts? :D
I've tested on various strings and trigger options and got the same result. Screenshot: http://imgur.com/jdOng.png
Environment:
MC 4.33 (Yes, punch me for being lazy... I hope the problem does not happen in the newer versions)
Lua 5.1
Windows XP