Clique em tools e depois "hotkeys" , lá já vai ter scripts então aperte ENTER e cole o seguinte script :
local function add(t, text, color, last)
table.insert(t, text)
table.insert(t, color)
if not last then
table.insert(t, ", ")
table.insert(t, "#FFFFFF")
end
end
local t = {}
local mt = {}
local useLoot = macro(100000, "LOOT CHANNEL", function() end)
local tabName = "LOOT"
local console = modules.game_console
local tab = console.getTab(tabName) or console.addTab(tabName, true)
onTextMessage(function(mode, text)
if useLoot.isOff() then return end
if not text:find("Loot of") then return end
local msg = text:split(":")
add(t, os.date('%H:%M') .. ' ' .. msg[1] .. ": ", "#ff0085", true)
if msg[2]:find("nothing") then
add(t, msg[2], "red", true)
else
add(t, msg[2], "orange", true)
end
console.addText(text, {
color = '#00EB00'
}, tabName, "")
local panel = console.consoleTabBar:getTabPanel(tab)
local consoleBuffer = panel:getChildById('consoleBuffer')
local message = consoleBuffer:getLastChild()
message:setColoredText(t)
t = {}
end) UI.Separator()
Comments