Im new over here i got almost 30 days using windbot and i see that everyone uses arrays :
or a single variablelootlist = {something,something,backpack
Its over boizzzzzz you dont need to type shit anymore, why do you keep typing shit.withdrawitem = energy ring
https://www.tibiawindbot.com/docs.ht...rs-lootingitem
https://www.tibiawindbot.com/docs.ht...ors-supplyitem
I dont want to see anyone scripting arrays or giving walls of text for a deposit action,
we dont need that anymore.
Heres an example of my market seller.
setsetting('Looting/OpenNextBP', 'yes')setsetting('Settings/OpenMenuPolicy', 'Do nothing')
setsetting('Settings/FocusPolicy', 'Don\'t auto-focus')
openmarket()
foreach lootingitem i "abc" do
local PriceStack = i.sellprice - 10 --- price - 10 gp for stackables
local PriceNon = i.sellprice - 100 --- price - 100 gp for nonstackables
if itemproperty(i.name, ITEM_STACKABLE) then
setlifetime(50000)
sellitemsmarket(i.name, PriceStack, 999, true)
--print("Name Stack: ".. i.name .." Price "..PriceStack)
else
setlifetime(50000)
sellitemsmarket(i.name, PriceNon, 999, true)
--print("Name NonStack: ".. i.name .." Price "..PriceNon)
end
end
closemarket()
setsetting('Settings/FocusPolicy', 'Don\'t auto-focus')
setsetting('Settings/StuckCursorPolicy', 'Release Instantly')
setsetting('Settings/OpenMenuPolicy', 'Confirm if cavebotting')
setsetting('Cavebot/Enabled', 'no')
With this script it will read EVERYSINGLE ITEM ON "X" CATEGORY AND SELL IT , stop fucking using arrays.
How can you change the price ?
On your own Loot List
No more bs like
loot = {giant sword,spike sword}
lootprice = {16000,1000}
PLEASE STOP USING THAT SHIT MY EYES HURT.