Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=-=-=-=-=-=-=-=-=-=-=-=-=#
- #Autor - Drake_PL
- #Wszelkie prawa zastrzezone !
- #=-=-=-=-=-=-=-=-=-=-=-=-=#
- options:
- # W pole nagroada wpisac id/nazwe przedmiotu #
- item1: nagroda
- item2: nagroda
- item3: nagroda
- item4: nagroda
- item5: nagroda
- item6: nagroda
- # Item wymagany do losowania #
- dolos: Enchanted Golden Apple
- #=======================================#
- # Czesc STRZEZONA prawami autorskimi #
- #=======================================#
- # Komenda /losuj (nie ma obecnie wiecej komend #
- command /losuj:
- trigger:
- if player has {@dolos}:
- set {randomnumber} to a random integer between 1 and 6
- remove {@dolos} from player
- send "&7Losowanie rozpoczelo sie"
- wait 2 seconds
- if {randomnumber} is 1:
- execute console command "give %player% {@item1} 1"
- send "&aGratulacje wygrales {@item1}"
- if {randomnumber} is 2:
- execute console command "give %player% {@item2} 1"
- send "&aGratulacje wygrales {@item2}"
- if {randomnumber} is 3:
- execute console command "give %player% {@item3} 1"
- send "&aGratulacje wygrales {@item3}"
- if {randomnumber} is 4:
- execute console command "give %player% {@item4} 1"
- send "&aGratulacje wygrales {@item4}"
- if {randomnumber} is 5:
- execute console command "give %player% {@item5} 1"
- send "&aGratulacje wygrales {@item5}"
- if {randomnumber} is 6:
- execute console command "give %player% {@item6} 1"
- send "&aGratulacje wygrales {@item6}"
- stop
- else:
- send "&7Nie masz &e{@dolos}!"
Advertisement
Add Comment
Please, Sign In to add comment