Advertisement
W1c3k

Alkochol!

Apr 22nd, 2018
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. command /alkochol [<text>]:
  2. trigger:
  3. open chest with 1 rows named "&c&lAlkohol" to player
  4. wait 1 ticks
  5. format slot 0 of player with 1 of water bottle named "&bHarnas" to run [make player execute "harnas"]
  6. format slot 1 of player with 1 of Light Gray Stained Glass Pane named "&7Puste Pole" to close
  7. format slot 2 of player with 1 of water bottle named "&3Tatra" to run [make player execute "tatra"]
  8. format slot 3 of player with 1 of Light Gray Stained Glass Pane named "&7Puste Pole" to close
  9. format slot 4 of player with 1 of water bottle named "&cPiast" to run [make player execute "piast"]
  10. format slot 5 of player with 1 of Light Gray Stained Glass Pane named "&7Puste Pole" to close
  11. format slot 6 of player with 1 of water bottle named "&7Lech" to run [make player execute "lech"]
  12. format slot 7 of player with 1 of Light Gray Stained Glass Pane named "&7Puste Pole" to close
  13. format slot 8 of player with 1 of water bottle named "&8Zubr" to run [make player execute "zubr"]
  14. command /harnas [<text>]:
  15. permission: hasrnas
  16. trigger:
  17. give 1 water bottle named "&bHarnas" to player
  18. execute console command "money take %player% 200"
  19. command /tatra [<text>]:
  20. trigger:
  21. give 1 water bottle named "&3Tatra" to player
  22. execute console command "money take %player% 200"
  23. command /piast [<text>]:
  24. trigger:
  25. give 1 water bottle named "&cPiast" to player
  26. execute console command "money take %player% 200"
  27. command /lech [<text>]:
  28. trigger:
  29. give 1 water bottle named "&7Lech" to player
  30. execute console command "money take %player% 200"
  31. command /zubr [<text>]:
  32. trigger:
  33. give 1 water bottle named "&8Zubr" to player
  34. execute console command "money take %player% 200"
  35. options:
  36. piwo1: &bHarnas
  37. piwo2: &3Tatra
  38. piwo3: &cPiast
  39. piwo4: &7Lech
  40. piwo5: &8Zubr
  41. on right click with water bottle:
  42. if name of player's tool contains "{@piwo1}":
  43. remove 1 water bottle named "{@piwo1}" from player
  44. execute console command "effect %player% blindness 60 2"
  45. execute console command "effect %player% nausea 60 2"
  46. execute console command "effect %player% slowness 60 2"
  47. send "&aWypiles Harnasia! Musisz odczekac 60 sekund aby nie byc juz pianym!"
  48. on right click with water bottle:
  49. if name of player's tool contains "{@piwo2}":
  50. remove 1 water bottle named "{@piwo2}" from player
  51. execute console command "effect %player% blindness 60 2"
  52. execute console command "effect %player% nausea 60 2"
  53. execute console command "effect %player% slowness 60 2"
  54. send "&aWypiles Tatre! Musisz odczekac 60 sekund aby nie byc juz pianym!"
  55. on right click with water bottle:
  56. if name of player's tool contains "{@piwo3}":
  57. remove 1 water bottle named "{@piwo3}" from player
  58. execute console command "effect %player% blindness 60 2"
  59. execute console command "effect %player% nausea 60 2"
  60. execute console command "effect %player% slowness 60 2"
  61. send "&aWypiles Piasta! Musisz odczekac 60 sekund aby nie byc juz pianym!"
  62. on right click with water bottle:
  63. if name of player's tool contains "{@piwo4}":
  64. remove 1 water bottle named "{@piwo4}" from player
  65. execute console command "effect %player% blindness 60 2"
  66. execute console command "effect %player% nausea 60 2"
  67. execute console command "effect %player% slowness 60 2"
  68. send "&aWypiles Lecha! Musisz odczekac 60 sekund aby nie byc juz pianym!"
  69. on right click with water bottle:
  70. if name of player's tool contains "{@piwo5}":
  71. remove 1 water bottle named "{@piwo5}" from player
  72. execute console command "effect %player% blindness 60 2"
  73. execute console command "effect %player% nausea 60 2"
  74. execute console command "effect %player% slowness 60 2"
  75. send "&aWypiles Zubra! Musisz odczekac 60 sekund aby nie byc juz pianym!"
  76. command /piwo [<text>] [<player>]:
  77. trigger:
  78. if player has permission "piwo.*":
  79. if arg 1 is not set:
  80. send ""
  81. send "&8> &7Harnas"
  82. send "&8> &7Tatra"
  83. send "&8> &7Piast"
  84. send "&8> &7Lech"
  85. send "&8> &7Zubr"
  86. send ""
  87. stop
  88. if arg 2 is not set:
  89. send ""
  90. send "&8> &7Harnas"
  91. send "&8> &7Tatra"
  92. send "&8> &7Piast"
  93. send "&8> &7Lech"
  94. send "&8> &7Zubr"
  95. send ""
  96. stop
  97. if arg 1 is "harnas":
  98. if arg 2 is set:
  99. give 1 water bottle named "{@piwo1}" to arg 2
  100. if arg 1 is "tatra":
  101. if arg 2 is set:
  102. give 1 water bottle named "{@piwo2}" to arg 2
  103. if arg 1 is "piast":
  104. if arg 2 is set:
  105. give 1 water bottle named "{@piwo3}" to arg 2
  106. if arg 1 is "lech":
  107. if arg 2 is set:
  108. give 1 water bottle named "{@piwo4}" to arg 2
  109. if arg 1 is "zubr":
  110. if arg 2 is set:
  111. give 1 water bottle named "{@piwo5}" to arg 2
  112. else:
  113. send "&4Nie masz dostępu do tej komendy!"
  114.  
  115. command /kac [<player>]:
  116. trigger:
  117. if player has permission "piwo.*":
  118. if arg 1 is set:
  119. execute console command "heal %arg 1%"
  120. else:
  121. send "&cGracz!!!"
  122. else:
  123. send "&4Nie masz dostępu do tej komendy!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement