Results 1 to 3 of 3

Thread: Request up afk ml

  1. #1
    Normal User hiraansm's Avatar
    Join Date
    Oct 2012
    Posts
    700
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    32
    Rep Power
    6

    Request up afk ml

    I want a script that buy potions and waste all of them using exura vita ,
    buy pots = use exura vita, all in front off the store...
    i will use 450k in potions (small mp)

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Go near a mana shop npc and add this code to a new action on actions list:

    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


    Didnt test it but should work.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    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
    Man, works perfectly.
    Was looking for something like this. Thanks!

Posting Permissions

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