I'm trying to do a LUA conditional on string.match in MUSHClient. As in:
if string.match("THIS", "HI") ~= nil then
world.Note("WHEE")
end
This gives me the error message:
[string "Script file"]:6: attempt to call field `match' (a nil value)
What am I doing wrong? Do I not have the string library somehow? If that's the case, how do I get it?
if string.match("THIS", "HI") ~= nil then
world.Note("WHEE")
end
This gives me the error message:
[string "Script file"]:6: attempt to call field `match' (a nil value)
What am I doing wrong? Do I not have the string library somehow? If that's the case, how do I get it?