Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #Ilosc czasu:
- ilosc: 1d
- iloscevent: 2h
- #Kod:
- kodglowny: "0" or "a" or "A" or "1" or "b" or "B" or "2" or "c" or "C" or "3" or "d" or "D" or "4" or "e" or "E" or "6" or "f" or "F" or "7" or "g" or "G" or "8" or "h" or "H" or "9" or "i" or "I" or "j" or "J" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "s" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
- command /kodreload:
- trigger:
- execute server command "sk reload %script%"
- delete {1}
- delete {2}
- delete {3}
- delete {4}
- delete {5}
- delete {6}
- delete {7}
- delete {8}
- command /generuj [<text>] [<text>]:
- permission: generuj.kod
- trigger:
- if arg 1 is not set:
- send "&eWpisz argument vip/supervip aby wylosowac kod"
- if arg 1 is not "vip" or "supervip":
- if arg 1 is "vip":
- set {1} to {@kodglowny}
- set {2} to {@kodglowny}
- set {3} to {@kodglowny}
- set {4} to {@kodglowny}
- set {5} to {@kodglowny}
- set {6} to {@kodglowny}
- set {7} to {@kodglowny}
- set {8} to {@kodglowny}
- set {kodvip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
- send "&eAby wpisac kod wpisz: /kodvip <kod>"
- wait 2 second
- send "&eTrwa generowanie kodu..." to all players
- send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
- wait 1 second
- send "&eKod na VIP'a wylosowany!: &b%{kodvip}%" to all players
- if arg 2 is "on":
- if {event-vip} is false:
- set {event-vip} to true
- send "&eWlaczyles event vip" to player
- if {event-vip} is true:
- send "&eEvent vip juz jest wlaczony!" to player
- if arg 2 is "off":
- if {event-vip} is true:
- set {event-vip} to false
- send "&eWylaczyles event vip" to player
- if {event-vip} is false:
- send "&eEvent vip juz jest wylaczony!" to player
- if arg 1 is "supervip":
- set {1} to {@kodglowny}
- set {2} to {@kodglowny}
- set {3} to {@kodglowny}
- set {4} to {@kodglowny}
- set {5} to {@kodglowny}
- set {6} to {@kodglowny}
- set {7} to {@kodglowny}
- set {8} to {@kodglowny}
- set {kodsupervip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
- send "&eAby wpisac kod wpisz: /kodsupervip <kod>"
- wait 2 second
- send "&eTrwa generowanie kodu..." to all players
- send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
- wait 1 second
- send "&eKod na SuperVIP'a wylosowany!: &b%{kodsupervip}%"
- if arg 2 is "on":
- if {event-supervip} is false:
- set {event-supervip} to true
- send "&eWlaczyles event supervip" to player
- if {event-supervip} is true:
- send "&eEvent supervip juz jest wlaczony!" to player
- if arg 2 is "off":
- if {event-supervip} is true:
- set {event-supervip} to false
- send "&eWylaczyles event supervip" to player
- if {event-supervip} is false:
- send "&eEvent supervip juz jest wylaczony!" to player
- command /kodvip [<text>]:
- trigger:
- if arg is not set:
- send "&eWpisz kod!"
- if arg contains "%{kodvip}%":
- delete {kodvip}
- execute console command "setrank %player% vip {@ilosc}"
- send "&ePomyslnie uzyles kod na VIP'a"
- stop
- else:
- if arg is set:
- send "&eZle wpisales kod lub jest on juz wykorzystany"
- stop
- command /kodsupervip [<text>]:
- trigger:
- if arg contains "%{kodsupervip}%":
- delete {kodsupervip}
- execute console command "setrank %player% supervip {@ilosc}"
- send "&ePomyslnie uzyles kod na SuperVIP'a"
- stop
- else:
- if arg is set:
- send "&eZle wpisales kod lub jest on juz wykorzystany"
- stop
- every 30 minutes:
- if {event-vip} is true:
- set {1} to {@kodglowny}
- set {2} to {@kodglowny}
- set {3} to {@kodglowny}
- set {4} to {@kodglowny}
- set {5} to {@kodglowny}
- set {6} to {@kodglowny}
- set {7} to {@kodglowny}
- set {8} to {@kodglowny}
- set {kodvip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
- send "&eTrwa generowanie kodu..." to all players
- send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
- wait 1 second
- send "&eKod na VIP'a wylosowany!: &b%{kodvip}%" to all players
- if {event-supervip} is true:
- set {1} to {@kodglowny}
- set {2} to {@kodglowny}
- set {3} to {@kodglowny}
- set {4} to {@kodglowny}
- set {5} to {@kodglowny}
- set {6} to {@kodglowny}
- set {7} to {@kodglowny}
- set {8} to {@kodglowny}
- set {kodsupervip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
- send "&eTrwa generowanie kodu..." to all players
- send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
- wait 1 second
- send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
- wait 1 second
- send "&eKod na VIP'a wylosowany!: &b%{kodsupervip}%" to all players
Advertisement
Add Comment
Please, Sign In to add comment