Results 1 to 3 of 3

Thread: problem in mana shop

  1. #1
    iBot User
    Join Date
    May 2012
    Location
    Poland
    Posts
    102
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5

    problem in mana shop

    hello

    i have got problem with potions buyer...
    This is my action, bot is saying hi, opening trade and he wont buy any mana potion and healthpotion.. And he is just going to the next waypoint.

    PHP Code:
    wait(1500,2000)
    opentrade()
    wait(600)
    sellflasks()
    buyitemsupto(mananamemanaamount)
    buyitemsupto(healthname,healthtobuy
    SETUP

    PHP Code:
    -------- Supplies setup -------- 

    mananame "mana potion"  --name of your mana potion
    manaamount 
    10                  --amount of mana potion to buy
    manaprice 
    50                   --price of mana potion

    healthname 
    "health potion"  --name of your health potion
    healthtobuy 
    10                  --amount of health potion to buy
    healthprice 
    45                   --price of health potion

    manaleave 
    3                   --amount of ammunition to leave resp
    ammoleave 
    3                   --amount of mana to leave resp
    capleave 
    50                    --cap to leave resp

    ------------------------------------------------------------------- 

  2. #2
    iBot User
    Join Date
    Oct 2012
    Posts
    198
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    18
    Rep Power
    5
    try this one :

    buyitemsupto(mananame, manaamount,itemcount(mananame))
    buyitemsupto(healthname,healthtobuy,itemcount(heal thname))

  3. #3
    iBot User
    Join Date
    May 2012
    Location
    Poland
    Posts
    102
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    KK I have fixed it. I had typo problem

Posting Permissions

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