--[[
Sell All script made by Pablo Mariante
Stand near to NPC then press the Sell All button in Tools tab.
Enjoy!
]]--
setDefaultTab("Tools")
addSeparator()
UI.Button("Sell All", function()
schedule(10, function() NPC.talk("hi") end)
schedule(1000, function() NPC.talk("trade") end)
schedule(1500, function()
if NPC.isTrading() then
NPC.sellAll()
end
end)
schedule(2500, function() NPC.closeTrade() end)
end)
addSeparator()