@Elizabeth
This one should alert on every item drop
Code:
local items = {"royal helmet", "shard"}
LootMessageProxy.OnReceive("", function(proxy, message)
if (table.find(items, string.lower(message)) then
alert()
end
end)
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