local x = wait.match ("*here you see*", 5)
Above line is what I use to match a string, but I would like to try to match more than one string.
What would the line look like?
Let's say if I 'Send ("Look")'
and following two lines show up:
John is here.
Mike is here.
Sam is here.
How do you write
local x = wait.match ("*here you see*", 5)
so that you can write something like:
local x = wait.match ("Sam*" or "Mike*", 5)
in Lua?
Above line is what I use to match a string, but I would like to try to match more than one string.
What would the line look like?
Let's say if I 'Send ("Look")'
and following two lines show up:
John is here.
Mike is here.
Sam is here.
How do you write
local x = wait.match ("*here you see*", 5)
so that you can write something like:
local x = wait.match ("Sam*" or "Mike*", 5)
in Lua?