Sell items

Description

Sells items at an NPC until you have none of the items left in your backpacks.

Requirements

OTCv8 version: 1.6 (possibly lower, cannot guarantee compatibility with lower versions)
Tibia version: 8.00-11.00
Backpacks need to be open.

Usage

Copy script: sellitems.lua to the config map in: %appdata%\OTClientV8\otclientv8\bot\YOURCONFIG
In the walker use the following code (can take away the lines with -- in front):

Without supply checker:

label:sellGreen
function:function(waypoints)
  -- For this you just put the ID within() to sell it.  
  return sellItems(3281) -- Giant Sword
end
function:function(waypoints)
  return sellItems(7419) -- Dreaded Cleaver
end
Author

DiscordSyndru#4623