Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. if not findobject 'pouch1'
  2. while findtype 0xe79 'any' 'backpack'
  3. if findtype 0xe79 'any' 'backpack'
  4. sysmsg '1 fatto'
  5. setalias 'pouch1' 'found'
  6. ignoreobject 'pouch1'
  7. endif
  8. pause 200
  9. if findtype 0xe79 'any' 'backpack'
  10. sysmsg '2 fatto'
  11. setalias 'pouch2' 'found'
  12. ignoreobject 'pouch2'
  13. endif
  14. pause 200
  15. if findtype 0xe79 'any' 'backpack'
  16. sysmsg '3 fatto'
  17. setalias 'pouch3' 'found'
  18. ignoreobject 'pouch3'
  19. endif
  20. pause 200
  21. if findtype 0xe79 'any' 'backpack'
  22. sysmsg '4 fatto'
  23. setalias 'pouch4' 'found'
  24. ignoreobject 'pouch4'
  25. endif
  26. pause 200
  27. if findtype 0xe79 'any' 'backpack'
  28. sysmsg '5 fatto'
  29. setalias 'pouch5' 'found'
  30. ignoreobject 'pouch5'
  31. endif
  32. pause 200
  33. endwhile
  34. clearignorelist
  35. endif
  36. if not findalias 'trappato1'
  37. usetype 0x1f39
  38. autotargetobject 'pouch1'
  39. setalias 'trappato1' 'self'
  40. headmsg 'trappato 1' 3
  41. cleartargetqueue
  42. playmacro 'autopouch'
  43. elseif not findalias 'trappato2'
  44. usetype 0x1f39
  45. autotargetobject 'pouch2'
  46. setalias 'trappato2' 'self'
  47. headmsg 'trappato 2' 25
  48. cleartargetqueue
  49. playmacro 'autopouch'
  50. elseif not findalias 'trappato3'
  51. usetype 0x1f39
  52. autotargetobject 'pouch3'
  53. setalias 'trappato3' 'self'
  54. headmsg 'trappato 3' 25
  55. cleartargetqueue
  56. playmacro 'autopouch'
  57. elseif not findalias 'trappato4'
  58. usetype 0x1f39
  59. autotargetobject 'pouch4'
  60. setalias 'trappato4' 'self'
  61. headmsg 'trappato 4' 25
  62. cleartargetqueue
  63. playmacro 'autopouch'
  64. endif
  65. usetype 0x1f39
  66. autotargetobject 'pouch5'
  67. setalias 'trappato5' 'self'
  68. headmsg 'trappato 5' 33
  69. cleartargetqueue
  70. playmacro 'autopouch'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement