Results 1 to 7 of 7

Thread: pick up mana pot on the floor backpack and the drop vials

  1. #1
    iBot User
    Join Date
    Feb 2012
    Posts
    28
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    14
    Rep Power
    5

    pick up mana pot on the floor backpack and the drop vials

    hello guys, I need two action is what I want to train ml inside the house, I need to pick up mana pot of bp on the floor and another drop vials on the floor, can someone help me, tkxx

  2. #2
    Normal User mankey's Avatar
    Join Date
    Jul 2012
    Location
    Poland
    Posts
    513
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    37
    Rep Power
    6
    local manaP = "mana potion" -- your potion
    local bpFlorr = "backpack" -- your backpack with mana potion on the floor
    local yourBP = "red backpack" -- your main bp to pickup mana potion

    local vialss = 285 --your id empty vials (285 this is id small vials)

    if itemcount(manaP, yourBP) < 50 then
    moveitems(manaP, bpFlorr , yourBP, 100)
    wait(500,900)
    end

    if itemcount(vialss, yourBP) > 40 then
    moveitems(vialss, yourBP, ground(posx, posy, posz), 100)
    wait(500,900)
    end

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Just use Blakws ml trainer, trains in the potion shop.

    It'd be a waste of time scripting this since you'd also need to buy tonnes of potions and put them in your house, then go sell all the vials later.....

  4. #4
    Normal User
    Join Date
    Apr 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Just use Blakws ml trainer, trains in the potion shop.

    It'd be a waste of time scripting this since you'd also need to buy tonnes of potions and put them in your house, then go sell all the vials later.....

    Where i find it? and it wont be too much reports?

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Credits to blakw

    Lua Code:
    --Potion to use/buy:
    local potionName = ("mana potion")
     
    --Total amount of potions to buy each time it reach 0 amount:
    local potionAmount = 500
     
    --Spell to cast:
    local spellToCast = ("exura vita")
     
     
    --Engine:
    if itemcount(potionName) >= 1 and mppc >= 50
    then
        cast(spellToCast)
        cooldown(spellToCast)
    elseif itemcount(potionName) >= 1 and mppc < 50
    then
        useitemontarget(potionName, name)
        wait(1000, 1300)
    elseif itemcount(potionName) == 0
    then
        say("hi")
        wait(2000)
        while ((itemcount(285) + itemcount(284) + itemcount(283)) >= 10) 
        do
            npcsay("vials")
            wait(1000, 1200)
            npcsay("yes")
            wait(1000, 1200)
        end
        wait(1000, 1200)
        npcsay("trade")
        wait(1000, 1200)
        buyitemsupto(potionName, potionAmount)
        wait(1000, 1200)
    end

  6. #6
    iBot User
    Join Date
    Nov 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5

    Post

    PHP Code:
    local manaP "mana potion" -- your potion
    local bpFlorr 
    "backpack" -- your backpack with mana potion on the floor
    local yourBP 
    "red backpack" -- your main bp to pickup mana potion

    local vialss 
    285 --your id empty vials (285 this is id small vials)

    if 
    itemcount(manaPyourBP) <= 50 then
    moveitems
    (manaPbpFlorr yourBP100)
    wait(500,900)
    end

    if itemcount(vialssyourBP) >= 40 then
    moveitems
    (vialssyourBPground(posxposyposz), 100)
    wait(500,900)
    end 

    I had to add in = signs like this. I was getting a debug msg.

  7. #7
    iBot User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    close
    Last edited by Shaki; 08-25-2015 at 05:26 PM.

Posting Permissions

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