I have got a trigger for when i appraise a mob to set whatever i am appraising to my target. I then have an alias to steal all of their gold, which is not automatically fired. I am looking to write a script to automate the stealing if the mob has over 50 on them.
<triggers>
<trigger
custom_colour="17"
enabled="y"
expand_variables="y"
lines_to_match="2"
keep_evaluating="y"
match="Judging from the bulge in (her|his) money pouch, (she|he) must be carrying close to * gold pieces."
send_to="12"
sequence="10"
other_text_colour="darkmagenta"
>
<send>if %3 > 50 then
Send( "stealgold" )
end -- if</send>
</trigger>
</triggers>
I don't know how far wrong i am, i was basing by theory. This trigger doesn't seem to do anything, it doesn't even change the colour of the text, can you tell me where i am going wrong?
<triggers>
<trigger
custom_colour="17"
enabled="y"
expand_variables="y"
lines_to_match="2"
keep_evaluating="y"
match="Judging from the bulge in (her|his) money pouch, (she|he) must be carrying close to * gold pieces."
send_to="12"
sequence="10"
other_text_colour="darkmagenta"
>
<send>if %3 > 50 then
Send( "stealgold" )
end -- if</send>
</trigger>
</triggers>
I don't know how far wrong i am, i was basing by theory. This trigger doesn't seem to do anything, it doesn't even change the colour of the text, can you tell me where i am going wrong?