Advertisement
Guest User

Untitled

a guest
Sep 25th, 2015
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. ;Autor: odzi:)
  2. ;Skrypt na target mobów szarych i czerwonych
  3. set %ji #jindex
  4. set #lpc 1000
  5. ;------------------
  6. set %b1 f3 ;<- auto atack
  7. set %b2 f3 ;<- grabienie
  8.  
  9. ;====================
  10.  
  11. repeat
  12. {
  13. onhotkey %b1
  14. {
  15. gosub atakuj
  16. }
  17. }
  18. until #false
  19.  
  20. sub atakuj
  21. repeat
  22. {
  23. event macro 50 5
  24. set %tag #ltargetid
  25. finditem #ltargetid
  26. if #findcnt = 0
  27. return
  28. for #findindex 1 #findcnt
  29. {
  30.  
  31. if #findrep = 1 || #findrep = 2 || #findrep = 7
  32. {
  33. ignoreitem #findid
  34. continue
  35. }
  36. event property #findid
  37. repeat
  38. {
  39. if #property = N/A
  40. event property #findid
  41. }
  42. until #property <> N/A
  43. set %p1 #property
  44. str Count %p1
  45. str Pos %p1 $
  46. str Del %p1 #strres 1
  47. set %p1 #strres
  48. set *NAME %p1
  49. set #sysmsgcol 75
  50. event exmsg #findid 3 65 %p1
  51. event macro 27 0
  52. ignoreitem #findid
  53. }
  54. if #findkind = -1
  55. {
  56. ignoreitem reset
  57. return
  58. }
  59. }
  60. until #false
  61. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement