22:08 XenoScript Error:
Error: ')' expected near 'then'
This is an error with user-input and should not be reported as a bug with XenoBot.
What wrong with this script?:
if (table.find(items, string.lower(message)) then
Printable View
Are you playing OT ?
@Elizabeth
I fked up, try this one
Code:local items = {"royal helmet", "shard"}
LootMessageProxy.OnReceive("", function(proxy, message))
for i = 1, #items do
if (string.find(string.lower(message), string.lower(items[i]))) then
alert()
end
end
end)