Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. variables:
  2. {mhf::Blaze} = "MHF_Blaze"
  3. {mhf::CaveSpider} = "MHF_CaveSpider"
  4. {mhf::Chicken} = "MHF_Chicken"
  5. {mhf::Cow} = "MHF_Cow"
  6. {mhf::Enderman} = "MHF_Enderman"
  7. {mhf::Ghast} = "MHF_Ghast"
  8. {mhf::Golem} = "MHF_Golem"
  9. {mhf::Herobrine} = "MHF_Herobrine"
  10. {mhf::LavaSlime} = "MHF_LavaSlime"
  11. {mhf::MushroomCow} = "MHF_MushroomCow"
  12. {mhf::Ocelot} = "MHF_Ocelot"
  13. {mhf::Pig} = "MHF_Pig"
  14. {mhf::PigZombie} = "MHF_PigZombie"
  15. {mhf::Sheep} = "MHF_Sheep"
  16. {mhf::Slime} = "MHF_Slime"
  17. {mhf::Spider} = "MHF_Spider"
  18. {mhf::Squid} = "MHF_Squid"
  19. {mhf::Villager} = "MHF_Villager"
  20. {mhf::Cactus} = "MHF_Cactus"
  21. {mhf::Cake} = "MHF_Cake"
  22. {mhf::Chest} = "MHF_Chest"
  23. {mhf::Melon} = "MHF_Melon"
  24. {mhf::OakLog} = "MHF_OakLog"
  25. {mhf::Pumpkin} = "MHF_Pumpkin"
  26. {mhf::TNT} = "MHF_TNT"
  27. {mhf::TNT2} = "MHF_TNT2"
  28. {mhf::ArrowUp} = "MHF_ArrowUp"
  29. {mhf::ArrowDown} = "MHF_ArrowDown"
  30. {mhf::ArrowLeft} = "MHF_ArrowLeft"
  31. {mhf::ArrowRight} = "MHF_ArrowRight"
  32. {mhf::Exclamation} = "MHF_Exclamation"
  33. {mhf::Question} = "MHF_Question"
  34. command /microblock [<text>]:
  35. executable by: players
  36. trigger:
  37. if argument is set:
  38. set {_err} to "Types:"
  39. loop {mhf::*}:
  40. set {_err} to "%{_err}%, %loop-index%"
  41. argument is loop-index
  42. set {_head} to loop-value
  43. set {wrkarnd::*} to "%{_head}%" parsed as offline player
  44. set {_head} to {wrkarnd::1}
  45. if {_head} is not set:
  46. message "&cInvalid Type."
  47. message "&9%{_err}%"
  48. else:
  49. give 64 of {_head}'s skull named "&9Microblock" to player
  50. else:
  51. message "&cPlease set argument 2! :)"
  52. stop
  53. on break of head:
  54. cancel event
  55. set block to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement