Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. @cleartargetqueue
  2. @canceltarget
  3. //Description: This macro selects the two nearest mobs and provokes them upon one another. No selection is required, only set this macro to a hotkey. Be aware that you do not have control over who it targets if multiple mobs are equally in range.
  4. //Select an instrument automatically to use
  5. if @findtype '0xe9e' 'any' 'backpack' 'any' '2' //Tambourine with red tassle
  6. @setalias 'instrument' 'found'
  7. headmsg "Instrument set" '66'
  8. @useobject 'instrument'
  9. elseif @findtype '0x2805' 'any' 'backpack' 'any' '4' //Flute
  10. @setalias 'instrument' 'found'
  11. headmsg "Instrument set" '66'
  12. @useobject 'instrument'
  13. elseif @findtype '0xe9d' 'any' 'backpack' 'any' '2' //Tambourine
  14. @setalias 'instrument' 'found'
  15. headmsg "Instrument set" '66'
  16. @useobject 'instrument'
  17. elseif @findtype '0xe9c' 'any' 'backpack' 'any' '2' //Drum
  18. @setalias 'instrument' 'found'
  19. headmsg "Instrument set" '66'
  20. @useobject 'instrument'
  21. elseif @findtype '0xeb3' 'any' 'backpack' 'any' '2' //Lute
  22. @setalias 'instrument' 'found'
  23. headmsg "Instrument set" '66'
  24. @useobject 'instrument'
  25. elseif @findtype '0xeb2' 'any' 'backpack' 'any' '2' //Lap Harp
  26. @setalias 'instrument' 'found'
  27. headmsg "Instrument set" '66'
  28. @useobject 'instrument'
  29. elseif @findtype '0xeb1' 'any' 'backpack' 'any' '2' //Standing Harp
  30. @setalias 'instrument' 'found'
  31. headmsg "Instrument set" '66'
  32. @useobject 'instrument'
  33. pause 800
  34. else
  35. headmsg 'No instrument found'
  36. stop
  37. endif
  38. @cleartargetqueue
  39. @ignoreobject 'pet1'
  40. @ignoreobject 'pet2'
  41. if targetexists
  42. canceltarget
  43. endif
  44. pause 800
  45. @getenemy 'criminal' 'grey' 'gray' 'nearest'
  46. if @inrange 'enemy' 12
  47. msg 'All Guard Me' 33
  48. pause 150
  49. msg 'All Guard Me' 33
  50. pause 200
  51. attack 'enemy'
  52. sysmsg 'Provoing....' '38'
  53. useskill 'provocation'
  54. waitfortarget 5000
  55. target! 'enemy'
  56. @getenemy 'murderer' 'criminal' 'grey' 'gray' 'enemy' 'nearest'
  57. waitfortarget 5000
  58. target! 'enemy'
  59. else
  60. headmsg 'Nothing to provoke!!!' '39'
  61. endif
  62. @cleartargetqueue
  63. @canceltarget
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement