Shadax

Gift

Jan 4th, 2014
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. options:
  2. 1: diamond
  3. 2: emerald
  4. 3: 2 diamond
  5. 4: 2 emerald
  6. 5: 10 lapis lazuli
  7. 6: 20 lapis lazuli
  8. 7: gunpowder
  9. 8: 2 gunpowder
  10. 9: ender pearl
  11. variables:
  12. {prezent.%player%} = false
  13. command /prezent:
  14. trigger:
  15. if {prezent.%player%} is false:
  16. set {prezent.%player%} to true
  17. set {_a} to random integer between 1 and 9
  18. if {_a} is equal to 1:
  19. give {@1} to the player
  20. send "&l&2Otrzymales Diament!"
  21. if {_a} is equal to 2:
  22. give {@2} to the player
  23. send "&l&2Otrzymales Szmaragd!"
  24. if {_a} is equal to 3:
  25. give {@3} to the player
  26. send "&l&2Otrzymales 2 Diamenty!"
  27. if {_a} is equal to 4:
  28. give {@4} to the player
  29. send "&l&2Otrzymales 2 Szmaragdy!"
  30. if {_a} is equal to 5:
  31. give {@5} to the player
  32. send "&l&2Otrzymales 10 Lapis Lazuli!"
  33. if {_a} is equal to 6:
  34. give {@6} to the player
  35. send "&l&2Otrzymales 10 Lapis Lazuli!"
  36. if {_a} is equal to 7:
  37. give {@7} to the player
  38. send "&l&2Otrzymales Siarke!"
  39. if {_a} is equal to 8:
  40. give {@8} to the player
  41. send "&l&2Otrzymales 2 Siarki!"
  42. if {_a} is equal to 9:
  43. give {@9} to the player
  44. send "&l&2Otrzymales ender Perle!"
  45. else:
  46. send "&l&cWziales juz swoj prezent!"
Advertisement
Add Comment
Please, Sign In to add comment