Trigger Line is:
^You have recovered balance on your (right|left) arm\.$
and my script is:
What I've been trying to do is make it so that once both arm balances are back, it sends me the note, since my class needs both arms to attack anyway.
I get this error message:
Run-time error
World: Treant
Immediate execution
[string "Trigger: "]:1: attempt to perform arithmetic on global 'arm' (a nil value)
stack traceback:
[string "Trigger: "]:1: in main chunk
Bahhh....
^You have recovered balance on your (right|left) arm\.$
and my script is:
arm=arm+1
if arm==2 then
ColourNote("white", "black", "*********************************************")
ColourNote("black", "orange", "You have recovered balance.")
ColourNote("white", "black", "*********************************************")
arm=0
end -- if
What I've been trying to do is make it so that once both arm balances are back, it sends me the note, since my class needs both arms to attack anyway.
I get this error message:
Run-time error
World: Treant
Immediate execution
[string "Trigger: "]:1: attempt to perform arithmetic on global 'arm' (a nil value)
stack traceback:
[string "Trigger: "]:1: in main chunk
Bahhh....