Results 1 to 2 of 2

Thread: Help with this action plzzzz!!!!!!!!

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

    Help with this action plzzzz!!!!!!!!

    My char is not refilling mana potions... what is wrong here??? =/
    Ps: I have sirmate instaled as script requires.

    Setup:
    MPname = "Mana Potion"
    MPprice = 50
    MPtobuy = 120
    MPtoback = 40

    Action:

    if itemcount(MPname) > MPtoback or cap > Captoback then
    gotolabel('hunt')
    else
    gotolabel('refill')
    end

    Thanks!!
    Jiban Jiban ri do Aldalberto e morre!?

    http://www.youtube.com/watch?v=JJ6WIoJSQLs

  2. #2
    iBot User mannarino's Avatar
    Join Date
    May 2012
    Location
    Rio de Janeiro
    Posts
    48
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    Actions - setup
    PHP Code:
    --_____________Potions Settings______________
         
         MPtype 
    "mana potion"
         
    MPmax 120
         MPmin 
    40
         MPprice 
    50

         HPtype 
    "health potion"
         
    HPmax 15
         HPmin 
    5
         HPprice 
    45

         CAPmin 
    75 
    action in cavebot
    PHP Code:
    wait(500)
    if (
    itemcount("mana potion") <= MPmin) or (itemcount("health potion") <= HPmin) or (cap CAPminthen
    gotolabel
    ('hunt')else
        
    gotolabel('refill')
    end 
    Last edited by mannarino; 05-01-2013 at 02:57 PM.
    Mannarino Service Scripts and Help When Possible.


    If help, REP + me please
    Se ajudei, REP+ Por favor

    Mande-me uma Mp

Posting Permissions

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