<triggers>
<trigger
enabled="y"
match="^This is wildcard (.*?) and this is another wildcard (.*?)'$"
regexp="y"
send_to="10"
sequence="100"
group="tablegroup"
script="learn_table"
>
</trigger>
</triggers>
t = {
"Small wildcard",
"Bigger wildcard",
"Biggest wildcard",
}
What I would to do is check if wildcard[2] is in the table. If it is in the table then I'd like to send a message example:
Execute("gt I'm sending this message because I found <Biggest wildcard>")
I would also like to know if I don't find a wildcard in my table how to send output saying I didn't find it in my table.
I have read quite a lot of tables, but I can't quite seem to grasp how to do it. I've always tried to do something with tables and it failed miserably every time.
Thanks in advance!