Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. if not @findobject 'KegBag'
  2. headmsg 'Select container with Poison Kegs'
  3. promptalias 'KegBag'
  4. endif
  5. if not @findobject 'EKegBag'
  6. headmsg 'Select a container for Empty kegs'
  7. promptalias 'EKegBag'
  8. endif
  9. if not @findobject 'ToPoison'
  10. headmsg 'Select object you wish to continually poison'
  11. promptalias 'ToPoison'
  12. endif
  13. if not @findtype '0xf0e' 'any' 'backpack' '2' '3'
  14. headmsg 'Gonna need some bottles'
  15. stop
  16. endif
  17. while skill 'poisoning' < '100.0'
  18. if @findtype '0x1940' 'any' 'backpack' 'any' '2'
  19. @setalias 'Pkeg' 'found'
  20. else
  21. useobject 'KegBag'
  22. pause 600
  23. @findtype '0x1940' 'any' 'KegBag' 'any' '2'
  24. pause 600
  25. moveitem 'found' 'backpack'
  26. @setalias 'PKeg' 'found'
  27. pause 600
  28. @unsetalias 'found'
  29. endif
  30. if not @findtype '0xf0a' 'any' 'backpack' '2' '3'
  31. @useobject 'PKeg'
  32. pause 600
  33. @useobject 'PKeg'
  34. pause 600
  35. endif
  36. while @findtype '0xf0a' 'any' 'backpack' 'any' '3'
  37. if poisoned 'self' or hits < maxhits
  38. usetype '0xf07' 'any' 'backpack'
  39. pause 500
  40. endif
  41. useskill 'poisoning'
  42. waitfortarget 5000
  43. targettype '0xf0a' '0' '3'
  44. waitfortarget 5000
  45. target! 'ToPoison'
  46. pause 11000
  47. endwhile
  48. if @injournal 'The keg is now empty.' 'system' or @injournal 'The keg is empty.' 'system'
  49. moveitem 'PKeg' 'EKegBag'
  50. pause 600
  51. @unsetalias 'PKeg'
  52. @clearjournal
  53. endif
  54. endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement