Guest User

skrypt

a guest
Feb 1st, 2015
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. options:
  2. #Ilosc czasu:
  3. ilosc: 1d
  4. iloscevent: 2h
  5. #Kod:
  6. 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"
  7.  
  8.  
  9. command /kodreload:
  10. trigger:
  11. execute server command "sk reload %script%"
  12. delete {1}
  13. delete {2}
  14. delete {3}
  15. delete {4}
  16. delete {5}
  17. delete {6}
  18. delete {7}
  19. delete {8}
  20.  
  21. command /generuj [<text>] [<text>]:
  22. permission: generuj.kod
  23. trigger:
  24. if arg 1 is not set:
  25. send "&eWpisz argument vip/supervip aby wylosowac kod"
  26. if arg 1 is not "vip" or "supervip":
  27.  
  28. if arg 1 is "vip":
  29. set {1} to {@kodglowny}
  30. set {2} to {@kodglowny}
  31. set {3} to {@kodglowny}
  32. set {4} to {@kodglowny}
  33. set {5} to {@kodglowny}
  34. set {6} to {@kodglowny}
  35. set {7} to {@kodglowny}
  36. set {8} to {@kodglowny}
  37. set {kodvip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  38. send "&eAby wpisac kod wpisz: /kodvip <kod>"
  39. wait 2 second
  40. send "&eTrwa generowanie kodu..." to all players
  41. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  42. wait 1 second
  43. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  44. wait 1 second
  45. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  46. wait 1 second
  47. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  48. wait 1 second
  49. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  50. wait 1 second
  51. send "&eKod na VIP'a wylosowany!: &b%{kodvip}%" to all players
  52. if arg 2 is "on":
  53. if {event-vip} is false:
  54. set {event-vip} to true
  55. send "&eWlaczyles event vip" to player
  56. if {event-vip} is true:
  57. send "&eEvent vip juz jest wlaczony!" to player
  58. if arg 2 is "off":
  59. if {event-vip} is true:
  60. set {event-vip} to false
  61. send "&eWylaczyles event vip" to player
  62. if {event-vip} is false:
  63. send "&eEvent vip juz jest wylaczony!" to player
  64.  
  65. if arg 1 is "supervip":
  66. set {1} to {@kodglowny}
  67. set {2} to {@kodglowny}
  68. set {3} to {@kodglowny}
  69. set {4} to {@kodglowny}
  70. set {5} to {@kodglowny}
  71. set {6} to {@kodglowny}
  72. set {7} to {@kodglowny}
  73. set {8} to {@kodglowny}
  74. set {kodsupervip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  75. send "&eAby wpisac kod wpisz: /kodsupervip <kod>"
  76. wait 2 second
  77. send "&eTrwa generowanie kodu..." to all players
  78. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  79. wait 1 second
  80. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  81. wait 1 second
  82. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  83. wait 1 second
  84. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  85. wait 1 second
  86. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  87. wait 1 second
  88. send "&eKod na SuperVIP'a wylosowany!: &b%{kodsupervip}%"
  89. if arg 2 is "on":
  90. if {event-supervip} is false:
  91. set {event-supervip} to true
  92. send "&eWlaczyles event supervip" to player
  93. if {event-supervip} is true:
  94. send "&eEvent supervip juz jest wlaczony!" to player
  95. if arg 2 is "off":
  96. if {event-supervip} is true:
  97. set {event-supervip} to false
  98. send "&eWylaczyles event supervip" to player
  99. if {event-supervip} is false:
  100. send "&eEvent supervip juz jest wylaczony!" to player
  101.  
  102. command /kodvip [<text>]:
  103. trigger:
  104. if arg is not set:
  105. send "&eWpisz kod!"
  106. if arg contains "%{kodvip}%":
  107. delete {kodvip}
  108. execute console command "setrank %player% vip {@ilosc}"
  109. send "&ePomyslnie uzyles kod na VIP'a"
  110. stop
  111. else:
  112. if arg is set:
  113. send "&eZle wpisales kod lub jest on juz wykorzystany"
  114. stop
  115. command /kodsupervip [<text>]:
  116. trigger:
  117. if arg contains "%{kodsupervip}%":
  118. delete {kodsupervip}
  119. execute console command "setrank %player% supervip {@ilosc}"
  120. send "&ePomyslnie uzyles kod na SuperVIP'a"
  121. stop
  122. else:
  123. if arg is set:
  124. send "&eZle wpisales kod lub jest on juz wykorzystany"
  125. stop
  126.  
  127. every 30 minutes:
  128. if {event-vip} is true:
  129. set {1} to {@kodglowny}
  130. set {2} to {@kodglowny}
  131. set {3} to {@kodglowny}
  132. set {4} to {@kodglowny}
  133. set {5} to {@kodglowny}
  134. set {6} to {@kodglowny}
  135. set {7} to {@kodglowny}
  136. set {8} to {@kodglowny}
  137. set {kodvip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  138. send "&eTrwa generowanie kodu..." to all players
  139. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  140. wait 1 second
  141. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  142. wait 1 second
  143. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  144. wait 1 second
  145. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  146. wait 1 second
  147. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  148. wait 1 second
  149. send "&eKod na VIP'a wylosowany!: &b%{kodvip}%" to all players
  150. if {event-supervip} is true:
  151. set {1} to {@kodglowny}
  152. set {2} to {@kodglowny}
  153. set {3} to {@kodglowny}
  154. set {4} to {@kodglowny}
  155. set {5} to {@kodglowny}
  156. set {6} to {@kodglowny}
  157. set {7} to {@kodglowny}
  158. set {8} to {@kodglowny}
  159. set {kodsupervip} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  160. send "&eTrwa generowanie kodu..." to all players
  161. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  162. wait 1 second
  163. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  164. wait 1 second
  165. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  166. wait 1 second
  167. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  168. wait 1 second
  169. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  170. wait 1 second
  171. send "&eKod na VIP'a wylosowany!: &b%{kodsupervip}%" to all players
Advertisement
Add Comment
Please, Sign In to add comment