Results 1 to 3 of 3

Thread: Soft Change / Move Potions

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Soft Change / Move Potions

    Hello, any have one action to move Potions to PotionBP?
    and another to change soft boots?
    Thanks.

  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
    These 3 variables are not requried in a setup, since they will NEVER change.... this script ((bad)) and (((((pointlessly complicated))))).. (lol)


    --Soft Boots name:
    local idSoftBoots = ("Soft Boots")

    --Soft Boots in use ID:
    local idUseSoftBoots = 3549

    --Worn Soft Boots name:
    local idWornSoftBoots = ("Worn Soft Boots")



    You can take my softs changer from many of my free scripts... you need to take 3 options from my setup too.



    potions...
    PHP Code:
    MainBp == "Blue Backpack"
    PotionBP == "Green Backpack"
    nameMP == "Mana Potion"

    while itemcount(nameMP MainBp ) > and getcontainer(PotionBP).usedslots getcontainer(PotionBP).maxslots do
    moveitems(nameMP MainBpPotionBP100)
    wait(300,500)
    end 
    Last edited by pink_panther; 01-02-2013 at 11:39 PM.

  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Soft Boots Changer:
    Credits for Ropiderz

    PHP Code:
    local DEFAULT_BOOTS "boots of haste"
    local CONSIDER_TYPE --[[ mp pchp pcmp exacthp exact ]]
    local CONSIDER_EQUIP = {2080} -- Value to equip soft boots
    local CONSIDER_UNEQUIP 
    = {9597} -- Value to unequip soft boots

    --[[ ENGINE ]]
    local SCRIPT_INFO "Name: Soft Boots Changer/nVersion: 1.2.0 beta/nAuthor: sirmate"
    local NORMAL_BOOTS_ID itemid(DEFAULT_BOOTS)
    local RANDOM_EQUIP math.random(CONSIDER_EQUIP[1], CONSIDER_EQUIP[2])
    local RANDOM_UNEQUIP math.random(CONSIDER_UNEQUIP[1], CONSIDER_UNEQUIP[2])
    local HP_MP_VALUES = {mppchppcmphp}

    if (
    boots == 3549) and (pzone == true or HP_MP_VALUES[CONSIDER_TYPE] >= RANDOM_UNEQUIPthen
        
    if (itemcount(DEFAULT_BOOTS) > 0then
            moveitems
    (NORMAL_BOOTS_ID"all""Boots"1)
            
    wait(11001200)
            else
            
    moveitems(boots"Boots""all"1)
            
    wait(10001200)
        
    end
    elseif (boots == 6530 or boots == 0then
        
    if (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0then
            moveitems
    (6529"all""Boots"1)
            
    wait(10001200)
        elseif (
    itemcount(NORMAL_BOOTS_ID) > 0then
            moveitems
    (NORMAL_BOOTS_ID"all""Boots"1)
            
    wait(10001200)
        elseif (
    boots 0then
            moveitems
    (boots"Boots""all"1)
            
    wait(10001200)
               
    end
    elseif (boots == NORMAL_BOOTS_ID) and (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0then
        moveitems
    (6529"all""Boots"1)
        
    wait(10001200)
    end 
    Moving Potions? In my opinion better way is just improve your supplies buying action
    PHP Code:
    MP 500 itemcount("Mana Potion"
    while 
    MP do 
    buyitems(("Mana Potion"), MP
    wait(500,900
    moveitems(("Mana Potion"),"NAME OF BACKPACK TO MOVE"1000
    wait(300,900
    MP MP-100
    end
    -- 500 it's ammount to buy 

Posting Permissions

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