Guest User

Untitled

a guest
Feb 3rd, 2015
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. options:
  2. #Rangi:
  3. ranga1: VIP
  4. ranga2: SuperVIP
  5. #Kody do rang:
  6. kodranga1: {kodvip}
  7. kodranga2: {kodsupervip}
  8. #Ilosc czasu:
  9. ilosc: 1d
  10. #Kod:
  11. 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"
  12.  
  13.  
  14. command /kodreload:
  15. trigger:
  16. execute server command "sk reload %script%"
  17. delete {1}
  18. delete {2}
  19. delete {3}
  20. delete {4}
  21. delete {5}
  22. delete {6}
  23. delete {7}
  24. delete {8}
  25.  
  26. command /generuj [<text>] [<text>]:
  27. permission: generuj.kod
  28. trigger:
  29. if arg 1 is not set:
  30. send "&eWpisz argument {@ranga1} lub {@ranga2} aby wylosowac kod!"
  31. if arg 1 is not "{@ranga1}" or "{@ranga2}":
  32. send "&eWpisz argument {@ranga1} lub {@ranga2} aby wylosowac kod!"
  33. if arg 1 is "{@ranga1}":
  34. set {1} to {@kodglowny}
  35. set {2} to {@kodglowny}
  36. set {3} to {@kodglowny}
  37. set {4} to {@kodglowny}
  38. set {5} to {@kodglowny}
  39. set {6} to {@kodglowny}
  40. set {7} to {@kodglowny}
  41. set {8} to {@kodglowny}
  42. set {@kodranga1} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  43. send "&eAby wpisac kod wpisz: /kod{@ranga1} <kod>" to all players
  44. wait 2 second
  45. send "&eTrwa generowanie kodu..." to all players
  46. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  47. wait 1 second
  48. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  49. wait 1 second
  50. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  51. wait 1 second
  52. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  53. wait 1 second
  54. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  55. wait 1 second
  56. send "&eKod na VIP'a wylosowany!: &b%{@kodranga1}%" to all players
  57. if arg 1 is "{@ranga2}":
  58. set {1} to {@kodglowny}
  59. set {2} to {@kodglowny}
  60. set {3} to {@kodglowny}
  61. set {4} to {@kodglowny}
  62. set {5} to {@kodglowny}
  63. set {6} to {@kodglowny}
  64. set {7} to {@kodglowny}
  65. set {8} to {@kodglowny}
  66. set {@kodranga2} to "%{1}%%{2}%%{3}%%{4}%%{5}%%{6}%%{7}%%{8}%"
  67. send "&eAby wpisac kod wpisz: /kod{@ranga2} <kod>" to all players
  68. wait 2 second
  69. send "&eTrwa generowanie kodu..." to all players
  70. send "&eKod bedzie pokazany na chacie za &b5 sekund!" to all players
  71. wait 1 second
  72. send "&eKod bedzie pokazany na chacie za &b4 sekundy!" to all players
  73. wait 1 second
  74. send "&eKod bedzie pokazany na chacie za &b3 sekundy!" to all players
  75. wait 1 second
  76. send "&eKod bedzie pokazany na chacie za &b2 sekundy!" to all players
  77. wait 1 second
  78. send "&eKod bedzie pokazany na chacie za &b1 sekunde!" to all players
  79. wait 1 second
  80. send "&eKod na SuperVIP'a wylosowany!: &b%{@kodranga2}%" to all players
  81.  
  82. command /kod{@ranga1} [<text>]:
  83. trigger:
  84. if arg 1 is not set:
  85. send "&eWpisz kod!"
  86. if arg 1 is "%{@kodranga1}%":
  87. delete {@kodranga1}
  88. execute console command "setrank %player% {@ranga1} {@ilosc}"
  89. send "&ePomyslnie uzyles kod na {@ranga1}'a!"
  90. stop
  91. else:
  92. if arg is set:
  93. send "&eZle wpisales kod lub jest on juz wykorzystany"
  94. stop
  95.  
  96. command /kod{@ranga2} [<text>]:
  97. trigger:
  98. if arg 1 is not set:
  99. send "&eWpisz kod!"
  100. if arg 1 is "%{@kodranga2}%":
  101. delete {@kodranga2}
  102. execute console command "setrank %player% {@ranga2} {@ilosc}"
  103. send "&ePomyslnie uzyles kod na {@ranga2}'a!"
  104. stop
  105. else:
  106. if arg is set:
  107. send "&eZle wpisales kod lub jest on juz wykorzystany" to player
  108. stop
Advertisement
Add Comment
Please, Sign In to add comment