Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###################
- #Autor: Messie #
- #Nazwa: LOSOWANIE #
- #Wersja: 0.1V #
- ###################
- options:
- tag: &c << LOSOWANIE >>
- cas: 5 //W minutach\\
- variables:
- {los} = false
- {kod} = 00000
- every {@czas} minutes:
- set {los} to true
- set {_a} to random integer between 1 and 9
- set {_b} to random integer between 1 and 9
- set {_c} to random integer between 1 and 9
- set {_d} to random integer between 1 and 9
- set {_e} to random integer between 1 and 9
- set {kod} to "%{_a}%%{_b}%%{_c}%%{_d}%%{_e}%"
- wait 1 second
- broadcast "&cUWAGA! &aZa 3 sekundy rozpocznie siÄ™ losowanie"
- wait 1 second
- broadcast "&13"
- wait 1 second
- broadcast "&c2"
- wait 1 second
- broadcast "&41"
- wait 1 second
- broadcast "Kod to /kod {kod}"
- command /kod [<text>]:
- trigger:
- if {los} is true:
- if arg is {kod}:
- set {los} to false
- give {@nagroda} to the player
- broadcast "&l&cKod zostal wykorzystany przez %player%, zapraszamy ponownie za 5 minut"
- stop
- else:
- send "&l&cPrzepisales niepoprawnie kod"
- else:
- send "&l&cKod juz wygasl, sprobuj za 5 minut"
Advertisement
Add Comment
Please, Sign In to add comment