Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. if not listexists 'BodyTypes'
  2. createlist 'BodyTypes'
  3. endif
  4. if list 'BodyTypes' == '0'
  5. pushlist 'BodyTypes' 0x190
  6. pushlist 'BodyTypes' 0x191
  7. pushlist 'BodyTypes' 0x2ec
  8. pushlist 'BodyTypes' 0x2eb
  9. pushlist 'BodyTypes' 0x25d
  10. pushlist 'BodyTypes' 0x25e
  11. pushlist 'BodyTypes' 0x2ed
  12. pushlist 'BodyTypes' 0x2e9
  13. pushlist 'BodyTypes' 0x2e8
  14. endif
  15. clearignorelist
  16. ignoreobject 'self'
  17. for 0 to 'BodyTypes'
  18. while @findtype BodyTypes[] 'any' ground 0 10
  19. if infriendlist 'found' and hits 'found' < maxhits 'found'
  20. if inregion 'guards''self' 3 and murderer 'found' or criminal 'found'
  21. ignoreobject 'found'
  22. headmsg 'guardie'
  23. break
  24. endif
  25. if poisoned 'found'
  26. cast 'cure' 'found'
  27. elseif yellowhits 'found'
  28. cast "Cleansing Winds" 'found'
  29. elseif diffhits 'found' > 10
  30. miniheal 'found'
  31. endif
  32. endif
  33. ignoreobject 'found'
  34. endwhile
  35. endfor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement