Suggestions
Autoloot on Look
#67
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
local doAutoLootLook = macro(5000, "Auto Loot on Look", "F1", 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)
08 Nov 2021