What Im looking for is when the trigger fires, I want it to Send Look and check to see if a line pops up that matches whats stored inside a table.
So like
v = {
"You see a orc.",
"You see a cow",
}
Send("look")
If line matches v
then
Send("It works")
else
Send("No good")
end
Its been forever since ive done any scripting, Im thinking the tables need to be accessed and expanded for one, then using wait.match to wait for the line? I just dont know how to access the table and see if it matches a line.
So like
v = {
"You see a orc.",
"You see a cow",
}
Send("look")
If line matches v
then
Send("It works")
else
Send("No good")
end
Its been forever since ive done any scripting, Im thinking the tables need to be accessed and expanded for one, then using wait.match to wait for the line? I just dont know how to access the table and see if it matches a line.