Radioactive95

CobbleX Beta 1.0

Dec 17th, 2013
7,152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.24 KB | None | 0 0
  1. #Zakaz handlowania i kopiowania kodu przez autora.
  2. #Na wersje 2.0.2 skriptu.
  3. #Wersja: beta 1.0
  4. #Co w następnym update:
  5. #    - Mozliwość craftowania w crafting table
  6. #    - Statystkyki na swiat i na gracz'a
  7. #    - Dodania ilość wypadania np: 3 iron ingot
  8. variables:
  9.         {cobblex.%player%} = 1
  10. command /cobblex:
  11.         permission: cobblex.use
  12.         trigger:
  13.                 player has 576 cobblestone:
  14.                         remove 576 cobblestone from player
  15.                         clear {cobblex.%player%}
  16.                         wait a tick
  17.                         set {cobblex.%player%} to a random integer from 1 to 3
  18.                         if {cobblex.%player%} is 1:
  19.                                 send "&aDostales 1 cobblex!"
  20.                                 give a 129 of sharpness 5 named "&2CobbleX" to the player
  21.                         if {cobblex.%player%} is 2:
  22.                                 send "&aDostales 2 cobblex!"
  23.                                 give a 129 of sharpness 5 named "&2CobbleX" to the player
  24.                         if {cobblex.%player%} is 3:
  25.                                 send "&aDostales 3 cobblex!"
  26.                                 give a 129 of sharpness 5 named "&2CobbleX" to the player
  27.                                 give a 129 of sharpness 5 named "&2CobbleX" to the player
  28.                                 give a 129 of sharpness 5 named "&2CobbleX" to the player
  29.                 else:
  30.                         send "&4Blad:&cNie posiadasz 9 stakow cobblestone!."
  31. on rightclick:
  32.         player is holding a emerald ore named "&2CobbleX":
  33.                 give a random item of {cobblelose::*} to player
  34.                 send "&aDostales przedmiot!"
  35.                 wait a tick
  36.                 remove 1 129 of sharpness 5 named "&2CobbleX" from player
  37. command /cobblea [<text="help">] [<items>]:
  38.         permission: cobble.admin
  39.         trigger:
  40.                 argument 1 is not "help", "add" or "remove":
  41.                         send "&4Blad:&cNieznana komenda,lub zla nazwa item'a !"
  42.                         stop
  43.                 argument 1 is "help":
  44.                         send "&c ==---( &4CobbleX Admin )&c---==="
  45.                         send "&4/cobblea add < Item > -&cDodanie nowego item'a do losowania."
  46.                         send "&4/cobblea remove < Item > -&cUsuwanie item'a z losowania"
  47.                         send "&4Lista item'ow z losowania:&c %{cobblelose::*}%"
  48.                         send "&4Pamietaj ze aby dodac item musi byc po angielsku!."
  49.                         send "&4Skript by *RadIoActiVe"
  50.                 argument 1 is "add":
  51.                         if argument 2 is not set:
  52.                                 send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  53.                         else:
  54.                                 add argument 2 to {cobblelose::*}
  55.                                 send "&aDodano ' %arg 2% ' do cobblex"
  56.                 argument 1 is "remove":
  57.                         if argument 2 is not set:
  58.                                 send "&4Blad:&cMusisz wpisac nazwe przedmiotu!"
  59.                         else:
  60.                                 remove argument 2 from {cobblelose::*}
  61.                                 send "&cUsunieto ' %arg 2% ' z cobblex"
Advertisement
Add Comment
Please, Sign In to add comment