Results 1 to 5 of 5

Thread: Check potions e spears ajuda nÃo funciona

  1. #1
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Check potions e spears ajuda nÃo funciona

    PHP Code:
    -- Setup:

    -- 
    Backpack Setup:
    MainBP "Purple backpack" -- The Main BP.
    LootBP "Dragon backpack" -- Looting BP
    GoldBP 
    "yellow backpack" -- BP to gold

    -- 
    Backpack Setup deport:
    mainbpdpname "brocade backpack" -- Backpack within the locker
    addonbpid 
    "beach backpack" -- Backpack within mainbpdpname
    Randomid 
    "camouflage backpack "-- Backpack within mainbpdpname
    SpearBP 
    "Golden backpack"

    -- Potions Setup:

    MPType "mana potion" -- Name of mana potion.
    MPprice 50 -- Price of mana potion to buy.
    MPtobuy 40 -- How many mana potions to buy?

    SpearType "royal spear" -- Name Spears
    SpearMax 
    24 -- How many spears buy?
    SpearPrice 15 -- Price of spears to buy

    HPType 
    "health potion" -- Name of health potion.
    HPprice 45 -- Price of health potion to buy
    HPtobuy 
    10 -- How many potions buy?


    -- 
    Hunt setup:
    Captoback 15 -- How much cap to back reffil
    MPToLeave 10 -- How many potions to back reffil?
    HPToLeave -- How many potions to back reffil?
    SpearMin 10 -- How many spears to back reffil
    PHP Code:
    Action

    if weaponamount <= SpearMin or itemcount(MPtype) <= manastoleave or cap <= CapToback or itemcount(HPType)<= HPtoleave then
    gotolabel
    ("leave")
    else
    gotolabel("hunt")
    end 
    ajudem pls =x

  2. #2
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Quote Originally Posted by charopinh0 View Post
    ajudem pls =x
    PHP Code:
    Action

    if weaponamount <= SpearMin or itemcount(MPType) <= MPToLeave or cap <= Captoback or itemcount(HPType)<= HPToLeave then
    gotolabel
    ("leave")
    else
    gotolabel("hunt")
    end 
    lembre-se que o iBot é case sensitive, o que significa que ele diferencia letras maiúsculas e minúsculas!
    Last edited by Dehan; 06-29-2013 at 10:48 PM.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    ele vai repotar com spear e potions acima do minimo que botei ai =/

  4. #4
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    ñ sabia dessa hehe vou deixa tudo igual e testar

  5. #5
    iBot User
    Join Date
    Apr 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Ae Vle brow Consegui

Tags for this Thread

Posting Permissions

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