Guest User

Untitled

a guest
Mar 27th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. #================================#
  2. # Skrypt stworzony przez Danelow #
  3. # Nazwa: STONIARKA #
  4. # Wersja: 1.0 #
  5. #================================#
  6.  
  7. #================================#
  8. # Pozwolenia | STONIARKA #
  9. #--------------------------------#
  10. # ~ Nie zezwalam na: #
  11. # - Zarabianie na skrypcie #
  12. # - Przerabianie i wrzucanie #
  13. # tego oto skryptu na fora bez #
  14. # mojego pozwolenia. #
  15. # ~ Zezwalam na: #
  16. # - Modyfikowanie wiadomosci #
  17. # skryptu na wlasne potrzeby #
  18. # - Dopisywanie fragmentow na #
  19. # wlasne potrzeby #
  20. # * - Tylko za moja zgodą. #
  21. #--------------------------------#
  22. #================================#
  23.  
  24.  
  25. command /stakbruku:
  26. aliases: /sb
  27. permission: stak.bruku
  28. trigger:
  29. if player has 576 cobblestone:
  30. remove 576 cobblestone from the player
  31. give a 1 129 of sharpness 5 named "Bruk X" to the player
  32. send "&7&l[&6&lStacK&7&l] &6&lTwoj bruk zostal zestakowany! Aby go odmienic wpisz &3&l/odmien &6&llub &3&l/o&6&l!"
  33. else:
  34. send "&4&l[Stack] &cNie masz 9 stakow cobblestone!"
  35. command /odmien:
  36. aliases: /o
  37. permission: odmien.bruk
  38. trigger:
  39. if player has 1 129:
  40. remove 1 129 of sharpness 5 named "Bruk X" from the player
  41. give a 576 cobblestone to the player
  42. send "&7&l[&6&lStacK&7&l] &6&lDostales spowrotem bruk :)"
  43. else:
  44. send "&4&l[Stack] &cNie masz zadnego Bruku X!"
  45.  
  46. on rightclick:
  47. player is holding a emerald ore named "&2Bruk X":
  48. give a random item of {cobblelose::*} to player
  49. send "&2Dostales przedmiot!"
  50. wait a tick
  51. remove 1 129 of sharpness 5 named "Bruk X" from player
  52.  
  53.  
  54. command /brukx [<text>] [<items>]:
  55. permission: brukx.admin
  56. trigger:
  57. argument 1 is not set:
  58. send "&c ==---( &4BrukX )&c---==="
  59. send "&4/brukx add < Item > -&cDodanie nowego item'a do losowania."
  60. send "&4/brukx remove < Item > -&cUsuwanie item'a z losowania"
  61. send "&4Lista item'ow z losowania:&c %{cobblelose::*}%"
  62. argument 1 is "add":
  63. if argument 2 is not set:
  64. send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  65. else:
  66. add argument 2 to {cobblelose::*}
  67. send "&aDodano ' %arg 2% ' do brukx"
  68. argument 1 is "remove":
  69. if argument 2 is not set:
  70. send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  71. else:
  72. remove argument 2 from {cobblelose::*}
  73. send "&cUsunieto ' %arg 2% ' z brukx"
Advertisement
Add Comment
Please, Sign In to add comment