Guest User

Untitled

a guest
Jul 2nd, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. options:
  2. l:&7[&6Loteria&7]
  3.  
  4. command /loteria [<text>]:
  5. trigger:
  6. if arg 1 is not set:
  7. send "&6&l[*]&7=============&a&lL&b&lot&3&ler&c&li&6&la&7=============&6&l[*]"
  8. send "&3Loteria to gra, w której za 1 koxa mozesz wygrać:"
  9. send "&3diamentowe itemy enchant, wiecej koxow, VIP'a"
  10. send "&3nether star(0.5 proc), obsydian."
  11. send "&3/loteria - &bpomoc"
  12. send "&3/loteria los - &blosowanie nagrody"
  13. send "&3Za spamienie komenda tylko tracisz koxy :)"
  14. send "&3jest 10 proc szansy ze nic nie wylosujesz!"
  15. send "&7===============================&6&l[*]"
  16. stop
  17. if arg 1 is "los":
  18. if player has 1 322:1:
  19. remove 1 322:1 from player
  20. chance of 5%:
  21. send "{@l} &6Losuje nagrode..."
  22. wait 3 second
  23. send "{@l} &6WTF? Wygrales &6&lVIP'a &6na 2 godziny!"
  24. execute console command "/setrank %player% VIP 2h"
  25. broadcast "{@l} Brawo! &e%player% &6Wygral &6&lVIP'a &6na 2 godziny!"
  26. stop
  27. chance of 0.5%:
  28. send "{@l} &6Losuje nagrode..."
  29. wait 3 second
  30. send "{@l} &6WTF?! Wygrales &6&l1 Nether Star&6!"
  31. give 1 299 to the player
  32. broadcast "{&l} Brawo! &e%player% &6Wygral 1 Nether Star!"
  33. stop
  34. chance of 4.5%:
  35. send "{@l} &6Losuje nagrode..."
  36. wait 3 second
  37. send "{@l} &6Brawo! Wygrales 3 Enchanted golden apple!"
  38. give 3 322:1 to the player
  39. stop
  40. chance of 2%:
  41. send "{@l} &6Losuje nagrode..."
  42. wait 3 second
  43. send "{@l} &6Wow! Wygrales mieczyk &eSharpness 3, looting 4, fire 2&6!"
  44. give a 276 of sharpness 3 and looting 4 and fire aspect 2 named "&5Mieczyk z Loterii" to the player
  45. stop
  46. chance of 2%:
  47. send "{@l} &6Losuje nagrode..."
  48. wait 3 second
  49. send "{@l} &6Wow! Wygrales mieczyk &eSharpness 4, knockback 4, looting 1"
  50. give a 276 of sharpness 4 and knockback 4 and looting 1 named "&2Mieczyk z Loterii" to the player
  51. stop
  52. chance of 1%:
  53. send "{@l} &6Losuje nagrode..."
  54. wait 3 second
  55. send "{@l} &6Brawo! Wygrales 5 Enchanted golden apple!"
  56. give 5 322:1 to the player
  57. stop
  58. chance of 15%:
  59. send "{@l} &6Losuje nagrode..."
  60. wait 3 second
  61. send "{@l} &6Wygrales 3 stacki obsydianu!"
  62. give 192 49 to the player
  63. stop
  64. chance of 10%:
  65. send "{@l} &6Losuje nagrode..."
  66. wait 3 second
  67. send "{@l} &6Ciesz sie! Wygrales chelm &eProtection 4, unbreaking 4&6!"
  68. give a 310 of protection 4 and unbreaking 4 named "&1Chelm z Loterii" to the player
  69. stop
  70. chance of 10%:
  71. send "{@l} &6Losuje nagrode..."
  72. wait 3 second
  73. send "{@l} &6Ciesz sie! Wygrales buty &eProtection 3, unbreaking 2, Feather Falling 7&6!"
  74. give a 313 of protection 3 and unbreaking 2 and feather falling 7 named "&1Buty z Loterii" to the player
  75. stop
  76. chance of 10%:
  77. send "{@l} &6Losuje nagrode..."
  78. wait 3 second
  79. send "{@l} &6Ciesz sie! Wygrales spodnie &eProtection 4, unbreaking 2, thorns 2&6!"
  80. give a 312 of protection 4 and unbreaking 2 and thorns 2 named "&1Spodnie z Loterii" to the player
  81. stop
  82. chance of 10%:
  83. send "{@l} &6Losuje nagrode..."
  84. wait 3 second
  85. send "{@l} &6Ciesz sie! Wygrales klate &eProtection 4, unbreaking 1, thorns 3, fire protection 7&6!"
  86. give a 311 of protection 4 and unbreaking 1 and fire protection 7 and thorns 3 named "&2Klata z Loterii" to the player
  87. stop
  88. chance of 20%:
  89. send "{@l} &6Losuje nagrode..."
  90. wait 3 second
  91. send "{@l} &6Wygrales 6 blokow diamentu!"
  92. give 6 57 to the player
  93. stop
  94. chance of 10%:
  95. send "{@l} &t6Losuje nagrode..."
  96. wait 3 second
  97. send "{@l} &6Niestety nic nie wygrales. Spróbuj ponownie! :)"
  98. stop
  99. else:
  100. send "{@l} &6Nie masz 1 Enchanted golden apple - nie mozesz grac."
  101. cancel event
Advertisement
Add Comment
Please, Sign In to add comment