Results 1 to 2 of 2

Thread: Refiller

  1. #1
    iBot User JunHoWon's Avatar
    Join Date
    Feb 2013
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4

    Refiller

    Hi there!

    I really don't how to make scripts, so I'm here to ask for some help.

    Can anybody make a refiller script?
    I'm training ML on my main, and I have a noob char to mana potion on me.
    I already know how to make it use mana potion on me, I just need a refiller.

    I'm just standing in front of the mana shop. Needed a script to buy X GMP's if it's out of GMP's, and it would be great if it sells the empty vials also.

    Thank you very much!

  2. #2
    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
    Add this to action list and stand near a potion shop.

    By Blakw:
    PHP 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) >= and mppc >= 50
    then
        cast
    (spellToCast)
        
    cooldown(spellToCast)
    elseif 
    itemcount(potionName) >= and mppc 50
    then
        useitemontarget
    (potionNamename)
        
    wait(10001300)
    elseif 
    itemcount(potionName) == 0
    then
        say
    ("hi")
        
    wait(2000)
        while ((
    itemcount(285) + itemcount(284) + itemcount(283)) >= 10
        do
            
    npcsay("vials")
            
    wait(10001200)
            
    npcsay("yes")
            
    wait(10001200)
        
    end
        wait
    (10001200)
        
    npcsay("trade")
        
    wait(10001200)
        
    buyitemsupto(potionNamepotionAmount)
        
    wait(10001200)
    end 

    PS, this thread question posted 3 times in a row. Wow.
    Last edited by pink_panther; 12-08-2013 at 11:17 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
  •