Signup Now
Results 1 to 2 of 2

Thread: Refiller, help.

  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    66
    Reputation
    22
    Rep Power
    21

    Refiller, help.

    Im trying to make the bot goto refill tab if its got the amount of minimum mana/gsps/arrows, but it dosent seem to work, anyone can help out?
    Code:
    ---Configurations, edit at own risk!
    
    MPMax = getuseroption("Max Mana Potions")
    HPMax = getuseroption("Max Great Spirit Potions")
    ArrowMax = getuseroption("Max Arrow")
    MPType = getuseroption("Mana Potion")
    HPType = getuseroption("Great Spirit Potion")
    ArrowType = getuseroption("Arrow")
    MPPrice = getuseroption("Mana Potion Price")
    HPPrice = getuseroption("Great Spirit Potion Price")
    ArrowPrice = getuseroption("Arrow Price")
    MPMin = getuseroption("Min Mana Potions")
    HPMin = getuseroption("Min Great Spirit Potions")
    ArrowMin = getuseroption("Min Arrow")
    
    if (itemcount(MPType) < MPMin+0) or (itemcount(HPType) < HPMin+0) or (itemcount(ArrowType) < ArrowMin+0) then
    gotolabel(000, "Refill")
    else
    gotolabel("start")
    end

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    66
    Reputation
    22
    Rep Power
    21
    Got help from SuNe! Please close 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
  •