Advertisement
Guest User

Untitled

a guest
Sep 26th, 2015
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. options:
  2. P: &8[&7Eggs&8]&7
  3.  
  4.  
  5. command /eggs [<text>]:
  6. permission: skript.op
  7. trigger:
  8. if arg-1 is "on" or "enable":
  9. message "{@P} Eggs Enabled!" to player
  10. set {eggs} to true
  11. set {eggnumbers::*} to 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, and 30
  12. else if arg-1 is "off" or "disable":
  13. set {eggs} to false
  14. message "{@P} Eggs Disabled!" to player
  15. on projectile hit:
  16. {eggs} is true
  17. projectile is egg
  18. set {_chosenEggMob} to a random element of {eggnumbers::*}
  19. if {_chosenEggMob} is 1:
  20. spawn sheep at event-location
  21. else if {_chosenEggMob} is 2:
  22. spawn cow at event-location
  23. else if {_chosenEggMob} is 3:
  24. spawn chicken at event-location
  25. else if {_chosenEggMob} is 4:
  26. spawn zombie at event-location
  27. else if {_chosenEggMob} is 5:
  28. spawn giant at event-location
  29. else if {_chosenEggMob} is 6:
  30. spawn wither at event-location
  31. else if {_chosenEggMob} is 7:
  32. spawn mooshroom at event-location
  33. else if {_chosenEggMob} is 8:
  34. spawn skeleton at event-location
  35. else if {_chosenEggMob} is 9:
  36. spawn horse at event-location
  37. else if {_chosenEggMob} is 10:
  38. spawn donkey at event-location
  39. else if {_chosenEggMob} is 11:
  40. spawn mule at event-location
  41. else if {_chosenEggMob} is 12:
  42. spawn enderdragon at event-location
  43. else if {_chosenEggMob} is 13:
  44. spawn zombie pigman at event-location
  45. else if {_chosenEggMob} is 14:
  46. spawn wither skeleton at event-location
  47. else if {_chosenEggMob} is 15:
  48. spawn baby zombie at event-location
  49. else if {_chosenEggMob} is 16:
  50. spawn wolf at event-location
  51. else if {_chosenEggMob} is 17:
  52. spawn enderman at event-location
  53. else if {_chosenEggMob} is 18:
  54. spawn creeper at event-location
  55. else if {_chosenEggMob} is 19:
  56. spawn pig at event-location
  57. else if {_chosenEggMob} is 20:
  58. spawn silverfish at event-location
  59. else if {_chosenEggMob} is 21:
  60. spawn squid at event-location
  61. else if {_chosenEggMob} is 22:
  62. spawn ocelot at event-location
  63. else if {_chosenEggMob} is 23:
  64. spawn villager at event-location
  65. else if {_chosenEggMob} is 24:
  66. spawn witch at event-location
  67. else if {_chosenEggMob} is 25:
  68. spawn bat at event-location
  69. else if {_chosenEggMob} is 26:
  70. spawn magma cube at event-location
  71. else if {_chosenEggMob} is 27:
  72. spawn blaze at event-location
  73. else if {_chosenEggMob} is 28:
  74. spawn spider at event-location
  75. else if {_chosenEggMob} is 29:
  76. spawn slime at event-location
  77. else if {_chosenEggMob} is 30:
  78. spawn cave spider at event-location
  79.  
  80. on death of chicken:
  81. {eggs} is true
  82. chance of 5%:
  83. drop 1 egg at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement