So I was working through the MUSHclient tutorial (http://www.gammon.com.au/forum/?id=6030) and copied this text from it:
if %1 < 100 then
ColourNote ("white", "red", "Warning! - health is low")
end -- if
It's meant to trigger on your health/mana line.
I changed the 100 to 4000 and had it trigger on this: ^Endurance: */*
But, any time the text of that form shows up, whether the number is above or below 4000, it gives me an error:
[string "Trigger: "]:1: unexpected symbol near '<'
But I'm just doing what the tutorial said! What's going wrong? Lua is what I have set as my scripting language.
if %1 < 100 then
ColourNote ("white", "red", "Warning! - health is low")
end -- if
It's meant to trigger on your health/mana line.
I changed the 100 to 4000 and had it trigger on this: ^Endurance: */*
But, any time the text of that form shows up, whether the number is above or below 4000, it gives me an error:
[string "Trigger: "]:1: unexpected symbol near '<'
But I'm just doing what the tutorial said! What's going wrong? Lua is what I have set as my scripting language.