• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Sell All by click on script

devilmas

New Member
Joined
Sep 25, 2009
Messages
2
Reaction score
0
Hello, Im looking for script which will say to npc hi>trade and click on this function Sell All
 
Hello!
You can search by docs here: https://github.com/OTCv8/otclientv8/blob...ns/npc.lua

But I just did one..
Lua:
--[[
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()

Enjoy
 
Back
Top