Auto Loot Look
Script Lua:
local doAutoLootLook = macro(5000, "Auto Loot on Look", "*", function() end) onTextMessage(function(mode, text) if mode == 20 and text:find("You see") and doAutoLootLook:isOn() then local regex = [[You see (?:an|a)([a-z A-Z]*).]] local data = regexMatch(text, regex)[1] if data and data[2] then say('!autoloot add, ' ..data[2]:trim()) end end end)
Para que a macro funcione corretamente, será necessário:
Inserir a macro em Tolls > Ingame script editor (Caso possua outros scripts, você deverá rolar a barra até o final, saltar alguns espaços e colar o nome em seguida).
Aperte ou altere a tecla * para ativar ou desativar a macro, em seguida dê look em algum item.