linknaka

Untitled

Apr 12th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. automacro compra {
  2. location not prt_in 172 130
  3. call start
  4. run-once 1
  5. timeout 10
  6. }
  7. macro start {
  8. do move 172 130 prt_in
  9. $tsus = 0
  10. $cheio = 0
  11. pause 1
  12. }
  13. automacro bf {
  14. location prt_in 173 130
  15. call buy
  16. timeout 3
  17. $tsus < 30
  18. }
  19. macro buy {
  20. do talknpc 172 130 b b13,1
  21. $tsus++
  22. if($cheio = 0) {
  23. log você tem $tsus
  24. }
  25. if($cheio = 1) {
  26. log você tem $tsus ja depositou no carrinho
  27. }
  28. pause 1
  29. }
  30. automacro carrinho {
  31. $tsus > 29
  32. call dep
  33. overrideAI 1
  34. run-once 1
  35. }
  36. macro dep {
  37. log começou a verificar
  38. while ($i < 30) as loop
  39. do cart add Tsurug[1]
  40. $i++
  41. end loop
  42. $tsus=0
  43. $cheio=1
  44. if($cheio = 0) {
  45. log você tem $tsus
  46. }
  47. if($cheio = 1) {
  48. log você tem $tsus ja depositou no carrinho
  49. }
  50. }
  51.  
  52. automacro Storage {
  53. $tsus > 29
  54. $cheio > 0
  55. call sty
  56. run-once 1
  57. }
  58. macro sty {
  59. do move 280 200 prontera
  60. do talknpc 282 200 c c r1
  61. while ($i < 70) as loop
  62. do storage add Tsurugi[1]
  63. do cart get Tsurugi[1]
  64. $i++
  65. end loop
  66. pause 1
  67. release compra
  68. release carrinho
  69. release Storage
  70. $tsus = 0
  71. $cheio = 0
  72. do storage close
  73.  
  74. pause 5
  75.  
  76. }
Advertisement
Add Comment
Please, Sign In to add comment