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

Ropiderz library v0.0.1

By: a guest on May 7th, 2012  |  syntax: Rails  |  size: 0.50 KB  |  hits: 20  |  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. BEGIN
  2.  Ropiderz's library v 0.0.1 # 07/05/2012 #
  3. END
  4.  
  5. def countgold()
  6. return itemcount(3031) + (itemcount(3035) * 100) + (itemcount(3043) * 10000)
  7. end
  8. def depositall()
  9. say("hi")
  10. waitping() * 4
  11. npcsay("deposit all")
  12. waitping() * 4
  13. npcsay("yes")
  14. end
  15.  
  16. def reachandopendp()
  17. reachdp()
  18. wait(2500, 3000)
  19. if reacheddp() == false
  20. gotoway(wpt() - 1)
  21. else
  22. opendepot()
  23. wait(2500, 3000)
  24. end
  25. end
  26.  
  27. def forwardwpt()
  28. gotoway(wpt() + 1)
  29. end
  30.  
  31. def backwardwpt()
  32. gotoway(wpt() - 1)
  33. end