Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: Rails  |  size: 0.64 KB  |  hits: 95  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Buy_Supply#
  2.  
  3. manas_to_buy = mp_to_buy - itemcount("mana potion")
  4. uhps_to_buy  = uhp - itemcount("ultimate health potion")
  5.  
  6. wait(200,300)
  7. opentrade()
  8. wait(200,300)
  9.  
  10. #buying mana potions
  11. move_times_mp = (manas_to_buy / 100)
  12. for i in 0..move_times_mp
  13.     buyitems("mana potion",manas_to_buy)
  14.     moveitems(getid("mana potion"), main_bp, supp_bp)
  15.     manas_to_buy -= 100
  16.     wait(300,400)
  17. end
  18.  
  19. #buying UHPs
  20. move_times_uhp = (uhps_to_buy / 100)
  21. for i in 0..move_times_uhp
  22.     buyitems("ultimate health potion",uhps_to_buy)
  23.     moveitems(getid("mana potion"), main_bp, supp_bp)
  24.     uhps_to_buy -= 100
  25.     wait(300,400)
  26. end