Advertisement
Guest User

Untitled

a guest
May 1st, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. ; Añadir IDs de los items que quieras lotear.
  2. set %items POF_OQE_IUF_LZF_OWS_GUF_HUF_OZF_SZF_CKF_IUD_EAG_VTO_QZF
  3.  
  4. ;Escribe MOCHILA si quieres que deje lo loteado en la mochila principal.
  5. ;Sino, escribe la ID de la bolsa donde lo quieras guardar.
  6. set %destino XIQWJMD ; MOCHILA
  7.  
  8. ;==========================================
  9. ;======NO TOCAR NADA A PARTIR DE AQUI======
  10. ;==========================================
  11. tecla:
  12. onhotkey q alt ; Cambiar la combinación de teclas para que empiece a lotear.
  13. {
  14. Comienzo:
  15. set %altMAX #CHARPOSZ + 15
  16. set %altMIN #CHARPOSZ - 15
  17. finditem YFM_KNF g_2 ; buscar cuerpo
  18. if #FINDZ <= %altMIN || #FINDZ >= %altMAX
  19. {
  20. ignoreitem #FINDID
  21. goto tecla
  22. }
  23. if #FINDKIND <> -1
  24. {
  25. scanjournal 1
  26. if #findrep = 1 || #findrep = 2 || Tus_manos_espectrales in #journal ;No lotear a azules.
  27. {
  28. ignoreitem #findid
  29. goto tecla
  30. }
  31. else
  32. {
  33. ; if Tus_manos_espectrales_atraviesan_el_objeto. in #JOURNAL
  34. set #lobjectid #findid
  35. event macro 17 0 ; abrir cuerpo
  36. wait 5
  37. set %cuerpovaciarid #contid ;-------- Añadido -----------------------------
  38. gosub lotear
  39. }
  40. }
  41. else
  42. {
  43. goto tecla
  44. }
  45. goto tecla
  46. ;------------------------------------------------
  47. sub lotear
  48. {
  49. Loteando:
  50. scanjournal
  51. if You_can_not_pick in #JOURNAL
  52. {
  53. ignoreitem %cuerpovaciarid
  54. set %cuerpovaciarid N/A
  55. return
  56. }
  57. finditem %items C_ , %cuerpovaciarid
  58. if ( #findkind <> -1 && %cuerpovaciarid <> N/A && %cuerpovaciarid <> #BACKPACKID && #CHARGHOST = no )
  59. {
  60. exevent Drag #findid #findstack
  61. wait 5
  62. if %destino <> MOCHILA
  63. {
  64. exevent Dropc %destino
  65. wait 5
  66. goto Loteando
  67. }
  68. exevent Dropc #BACKPACKID
  69. wait 5
  70. goto Loteando
  71. }
  72. else
  73. {
  74. ignoreitem %cuerpovaciarid
  75. set %cuerpovaciarid N/A
  76. return
  77. }
  78. return
  79. }
  80. }
  81. goto tecla
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement