Signup Now
Results 1 to 2 of 2
  1. #1
    Free User Wesker's Avatar
    Join Date
    Dec 2013
    Posts
    462
    Reputation
    -65
    Rep Power
    0

    Depositer / Withdraw / Market Seller

    Im new over here i got almost 30 days using windbot and i see that everyone uses arrays :
    lootlist = {something,something,backpack
    or a single variable
    withdrawitem = energy ring
    Its over boizzzzzz you dont need to type shit anymore, why do you keep typing shit.

    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.
    Last edited by Wesker; 12-15-2016 at 09:58 PM.

  2. #2
    Wind Powered
    Join Date
    Apr 2015
    Posts
    154
    Reputation
    11
    Rep Power
    19
    This is great!

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •