TheU5erPL

TheWalls

Jan 20th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.38 KB | None | 0 0
  1. on load:
  2. send "[TheWalls] Loading TheWalls v0.9" to console
  3. on unload:
  4. send "[TheWalls] Disabling TheWalls v0.9" to console
  5. variables:
  6. {team-1.%player%} = false
  7. {team-2.%player%} = false
  8. {team-3.%player%} = false
  9. {team-4.%player%} = false
  10. {arena} = false
  11. options:
  12. # Logo Skryptu
  13. logo: &7[&cWalls&7]
  14. # Glowna Komenda:
  15. maincommand: walls
  16.  
  17. command /team [<text>] [<text>]:
  18. trigger:
  19. if arg 1 is not "1" or "2" or "3" or "4":
  20. send "{@logo}&7Musisz wybrac druzyne 1-4"
  21. if arg 1 is not set:
  22. send "{@logo}&7Wybierz druzyne, %name of player%: /team <1-4>"
  23. stop
  24. if arg 1 is "1":
  25. if {team-1.%player%} is true:
  26. send "{@logo}&aNalezysz juz do druzyny &a1 &a!"
  27. stop
  28. if {team-2.%player%} is true:
  29. if {players::team1::*} > 10:
  30. send "{@logo}Druzyna jest pelna!" to player
  31. else:
  32. remove 1 from {players::team2::*}
  33. set {team-2.%player%} to false
  34. set the player's tablist name to "&f%name of player%"
  35. add 1 to {players::team1::*}
  36. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  37. set {team-1.%player%} to true
  38. stop
  39. if {team-3.%player%} is true:
  40. if {players::team1::*} > 10:
  41. send "{@logo}Druzyna jest pelna!" to player
  42. else:
  43. remove 1 from {players::team3::*}
  44. set {team-4.%player%} to false
  45. set the player's tablist name to "&f%name of player%"
  46. add 1 to {players::team1::*}
  47. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  48. set {team-1.%player%} to true
  49. stop
  50. if {team-4.%player%} is true:
  51. if {players::team1::*} > 10:
  52. send "{@logo}Druzyna jest pelna!" to player
  53. else:
  54. remove 1 from {players::team4::*}
  55. set {team-4.%player%} to false
  56. set the player's tablist name to "&f%name of player%"
  57. add 1 to {players::team1::*}
  58. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  59. set {team-1.%player%} to true
  60. stop
  61. if {team-1.%player%} is false:
  62. if {team-2.%player%} is false:
  63. if {players::team1::*} > 10:
  64. send "{@logo}Druzyna jest pelna!" to player
  65. else:
  66. add 1 to {players::team1::*}
  67. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  68. set {team-1.%player%} to true
  69. stop
  70. if {team-3.%player%} is false:
  71. if {players::team1::*} > 10:
  72. send "{@logo}Druzyna jest pelna!" to player
  73. else:
  74. add 1 to {players::team1::*}
  75. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  76. set {team-1.%player%} to true
  77. stop
  78. if {team-4.%player%} is false:
  79. if {players::team1::*} > 10:
  80. send "{@logo}Druzyna jest pelna!" to player
  81. else:
  82. add 1 to {players::team1::*}
  83. send "{@logo}&aGratulacje, Udalo ci sie dolaczyc do druzyny 1 [%{players::team1::*}%/10] !"
  84. set {team-1.%player%} to true
  85. stop
  86. if arg 1 is "2":
  87. if {team-1.%player%} is true:
  88. if {players::team2::*} > 10:
  89. send "{@logo}Druzyna jest pelna!" to player
  90. else:
  91. remove 1 from {players::team1::*}
  92. set {team-1.%player%} to false
  93. set the player's tablist name to "&f%name of player%"
  94. add 1 to {players::team2::*}
  95. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  96. set {team-2.%player%} to true
  97. stop
  98. if {team-2.%player%} is true:
  99. send "{@logo}&aNalezysz juz do druzyny &b2 &a!"
  100. stop
  101. if {team-3.%player%} is true:
  102. if {players::team2::*} > 10:
  103. send "{@logo}Druzyna jest pelna!" to player
  104. else:
  105. remove 1 from {players::team3::*}
  106. set {team-3.%player%} to false
  107. set the player's tablist name to "&f%name of player%"
  108. add 1 to {players::team2::*}
  109. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  110. set {team-2.%player%} to true
  111. stop
  112. if {team-4.%player%} is true:
  113. if {players::team2::*} > 10:
  114. send "{@logo}Druzyna jest pelna!" to player
  115. else:
  116. remove 1 from {players::team4::*}
  117. set {team-4.%player%} to false
  118. set the player's tablist name to "&f%name of player%"
  119. add 1 to {players::team2::*}
  120. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  121. set {team-2.%player%} to true
  122. stop
  123. if {team-2.%player%} is false:
  124. if {team-1.%player%} is false:
  125. if {players::team2::*} > 10:
  126. send "{@logo}Druzyna jest pelna!" to player
  127. else:
  128. add 1 to {players::team2::*}
  129. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  130. set {team-2.%player%} to true
  131. stop
  132. if {team-3.%player%} is false:
  133. if {players::team2::*} > 10:
  134. send "{@logo}Druzyna jest pelna!" to player
  135. else:
  136. add 1 to {players::team2::*}
  137. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  138. set {team-2.%player%} to true
  139. stop
  140. if {team-4.%player%} is false:
  141. if {players::team2::*} > 10:
  142. send "{@logo}Druzyna jest pelna!" to player
  143. else:
  144. add 1 to {players::team2::*}
  145. send "{@logo}&bGratulacje, Udalo ci sie dolaczyc do druzyny 2 [%{players::team2::*}%/10] !"
  146. set {team-2.%player%} to true
  147. stop
  148. if arg 1 is "3":
  149. if {team-1.%player%} is true:
  150. if {players::team3::*} > 10:
  151. send "{@logo}Druzyna jest pelna!" to player
  152. else:
  153. remove 1 from {players::team1::*}
  154. set {team-1.%player%} to false
  155. set the player's tablist name to "&f%name of player%"
  156. add 1 to {players::team3::*}
  157. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  158. set {team-3.%player%} to true
  159. stop
  160. if {team-2.%player%} is true:
  161. if {players::team3::*} > 10:
  162. send "{@logo}Druzyna jest pelna!" to player
  163. else:
  164. remove 1 from {players::team2::*}
  165. set {team-2.%player%} to false
  166. set the player's tablist name to "&f%name of player%"
  167. add 1 to {players::team3::*}
  168. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  169. set {team-3.%player%} to true
  170. stop
  171. if {team-3.%player%} is true:
  172. send "{@logo}&aNalezysz juz do druzyny &c3 &a!"
  173. stop
  174. if {team-4.%player%} is true:
  175. if {players::team3::*} > 10:
  176. send "{@logo}Druzyna jest pelna!" to player
  177. else:
  178. remove 1 from {players::team4::*}
  179. set {team-4.%player%} to false
  180. set the player's tablist name to "&f%name of player%"
  181. add 1 to {players::team3::*}
  182. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  183. set {team-3.%player%} to true
  184. stop
  185. if {team-3.%player%} is false:
  186. if {team-1.%player%} is false:
  187. if {players::team3::*} > 10:
  188. send "{@logo}Druzyna jest pelna!" to player
  189. else:
  190. add 1 to {players::team3::*}
  191. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  192. set {team-3.%player%} to true
  193. stop
  194. if {team-2.%player%} is false:
  195. if {players::team3::*} > 10:
  196. send "{@logo}Druzyna jest pelna!" to player
  197. else:
  198. add 1 to {players::team3::*}
  199. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  200. set {team-3.%player%} to true
  201. stop
  202. if {team-4.%player%} is false:
  203. if {players::team3::*} > 10:
  204. send "{@logo}Druzyna jest pelna!" to player
  205. else:
  206. add 1 to {players::team3::*}
  207. send "{@logo}&cGratulacje, Udalo ci sie dolaczyc do druzyny 3 [%{players::team3::*}%/10] !"
  208. set {team-3.%player%} to true
  209. stop
  210. if arg 1 is "4":
  211. if {team-1.%player%} is true:
  212. if {players::team4::*} > 10:
  213. send "{@logo}Druzyna jest pelna!" to player
  214. else:
  215. remove 1 from {players::team1::*}
  216. set {team-1.%player%} to false
  217. set the player's tablist name to "&f%name of player%"
  218. add 1 to {players::team4::*}
  219. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  220. set {team-4.%player%} to true
  221. stop
  222. if {team-2.%player%} is true:
  223. if {players::team4::*} > 10:
  224. send "{@logo}Druzyna jest pelna!" to player
  225. else:
  226. remove 1 from {players::team2::*}
  227. set {team-2.%player%} to false
  228. set the player's tablist name to "&f%name of player%"
  229. add 1 to {players::team4::*}
  230. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  231. set {team-4.%player%} to true
  232. stop
  233. if {team-3.%player%} is true:
  234. if {players::team4::*} > 10:
  235. send "{@logo}Druzyna jest pelna!" to player
  236. else:
  237. remove 1 from {players::team3::*}
  238. set {team-3.%player%} to false
  239. set the player's tablist name to "&f%name of player%"
  240. add 1 to {players::team4::*}
  241. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  242. set {team-4.%player%} to true
  243. stop
  244. if {team-4.%player%} is true:
  245. send "{@logo}&aNalezysz juz do druzyny &64 &a!"
  246. stop
  247. if {team-4.%player%} is false:
  248. if {team-1.%player%} is false:
  249. if {players::team4::*} > 10:
  250. send "{@logo}Druzyna jest pelna!" to player
  251. else:
  252. add 1 to {players::team4::*}
  253. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  254. set {team-4.%player%} to true
  255. stop
  256. if {team-2.%player%} is false:
  257. if {players::team4::*} > 10:
  258. send "{@logo}Druzyna jest pelna!" to player
  259. else:
  260. add 1 to {players::team4::*}
  261. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  262. set {team-4.%player%} to true
  263. stop
  264. if {team-3.%player%} is false:
  265. if {players::team4::*} > 10:
  266. send "{@logo}Druzyna jest pelna!" to player
  267. else:
  268. add 1 to {players::team4::*}
  269. send "{@logo}&eGratulacje, Udalo ci sie dolaczyc do druzyny 4 [%{players::team4::*}%/10] !"
  270. set {team-4.%player%} to true
  271. stop
  272.  
  273. command /teamspawn [<text>]:
  274. permission: walls.teamspawn
  275. trigger:
  276. if arg 1 is not set:
  277. send "{@logo}&7Aby ustawic spawn musisz wpisac argument"
  278. if arg 1 is "1":
  279. set {team1.pos} to location of player
  280. send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
  281. stop
  282. if arg 1 is "2":
  283. set {team2.pos} to location of player
  284. send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
  285. stop
  286. if arg 1 is "3":
  287. set {team3.pos} to location of player
  288. send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
  289. stop
  290. if arg 1 is "4":
  291. set {team4.pos} to location of player
  292. send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
  293. stop
  294. if arg 1 is "1-2":
  295. set {team1.pos2} to location of player
  296. send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
  297. stop
  298. if arg 1 is "2-2":
  299. set {team2.pos2} to location of player
  300. send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
  301. stop
  302. if arg 1 is "3-2":
  303. set {team3.pos2} to location of player
  304. send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
  305. stop
  306. if arg 1 is "4-2":
  307. set {team4.pos2} to location of player
  308. send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
  309. stop
  310. if arg 1 is "1-3":
  311. set {team1.pos3} to location of player
  312. send "{@logo}&aUstawiono lokalizacje spawnu [Team 1] !"
  313. stop
  314. if arg 1 is "2-3":
  315. set {team2.pos3} to location of player
  316. send "{@logo}&bUstawiono lokalizacje spawnu [Team 2] !"
  317. stop
  318. if arg 1 is "3-3":
  319. set {team3.pos3} to location of player
  320. send "{@logo}&cUstawiono lokalizacje spawnu [Team 3] !"
  321. stop
  322. if arg 1 is "4-3":
  323. set {team4.pos3} to location of player
  324. send "{@logo}&eUstawiono lokalizacje spawnu [Team 4] !"
  325. stop
  326.  
  327. command /falldown:
  328. permission: walls.falldown
  329. trigger:
  330. loop all blocks in region "team1-1":
  331. execute server command "rg flag team1-1 entry -w world allow"
  332. execute server command "rg flag team1-1 build -w world allow"
  333. set loop-blocks to air
  334. loop all blocks in region "team1-2":
  335. execute server command "rg flag team1-2 entry -w world allow"
  336. execute server command "rg flag team1-2 build -w world allow"
  337. set loop-blocks to air
  338. loop all blocks in region "team2-1":
  339. execute server command "rg flag team2-1 entry -w world allow"
  340. execute server command "rg flag team2-1 build -w world allow"
  341. set loop-blocks to air
  342. loop all blocks in region "team2-2":
  343. execute server command "rg flag team2-2 entry -w world allow"
  344. execute server command "rg flag team2-2 build -w world allow"
  345. set loop-blocks to air
  346. loop all blocks in region "team3-1":
  347. execute server command "rg flag team3-1 entry -w world allow"
  348. execute server command "rg flag team3-1 build -w world allow"
  349. set loop-blocks to air
  350. loop all blocks in region "team3-2":
  351. execute server command "rg flag team3-2 entry -w world allow"
  352. execute server command "rg flag team3-2 build -w world allow"
  353. set loop-blocks to air
  354. loop all blocks in region "team4-1":
  355. execute server command "rg flag team4-1 entry -w world allow"
  356. execute server command "rg flag team4-1 build -w world allow"
  357. set loop-blocks to air
  358. loop all blocks in region "team4-2":
  359. execute server command "rg flag team4-2 entry -w world allow"
  360. execute server command "rg flag team4-2 build -w world allow"
  361. set loop-blocks to air
  362. stop
  363.  
  364. command /tep [<text>]:
  365. permission: walls.tep
  366. trigger:
  367. if {arena} is true:
  368. if {team-1.%player%} is true:
  369. execute server command "tp arg-player"
  370. send "Przeteleportowano do gracza %arg 1%" to player
  371. stop
  372. if {team-1.%player%} is false:
  373. send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
  374. stop
  375. if {team-2.%player%} is true:
  376. execute server command "tp arg-player"
  377. send "Przeteleportowano do gracza %arg 1%" to player
  378. stop
  379. if {team-2.%player%} is false:
  380. send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
  381. stop
  382. if {team-3.%player%} is true:
  383. execute server command "tp arg-player"
  384. send "Przeteleportowano do gracza %arg 1%" to player
  385. stop
  386. if {team-3.%player%} is false:
  387. send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
  388. stop
  389. if {team-4.%player%} is true:
  390. execute server command "tp arg-player"
  391. send "Przeteleportowano do gracza %arg 1%" to player
  392. stop
  393. if {team-4.%player%} is false:
  394. send "&4Nie mozesz teleportowac sie do gracza z innej druzyny!" to player
  395. stop
  396.  
  397. command /bc [<text>]:
  398. permission: walls.broadcast
  399. trigger:
  400. if arg 1 is not set:
  401. send "{@logo}Musisz wpisac argument!"
  402. if arg 1 is set:
  403. broadcast "{@logo}%coloured arg%"
  404. stop
  405.  
  406. command /bc2 [<text>]:
  407. permission: walls.broadcast
  408. trigger:
  409. if arg 1 is not set:
  410. send "{@logo}Musisz wpisac argument!"
  411. if arg 1 is set:
  412. broadcast "%coloured arg%"
  413. stop
  414.  
  415. command /walls [<text>] [<text>]:
  416. trigger:
  417. if arg 1 is not set:
  418. send " &b=-=-=-=-= TheWalls =-=-=-=-="
  419. send " &e/walls start - Startuje arene TheWalls"
  420. send " &e/walls help - Pomoc pluginu TheWalls"
  421. send " &e/walls - Pokazuje komendy TheWalls"
  422. send " &e/wyjdz - Startuje arene TheWalls"
  423. send " &e/team <1-4> - Startuje arene TheWalls"
  424. send " &e/tep <nick> - Startuje arene TheWalls"
  425. stop
  426. if arg 1 is "help":
  427. if arg 2 is "1":
  428. send " &2Strona 1/3"
  429. send " &b=-=-=-=-= TheWalls =-=-=-=-="
  430. send " &e/walls help - Pomoc pluginu TheWalls"
  431. send " &e/walls - Pokazuje komendy TheWalls"
  432. send " &e/wyjdz - Startuje arene TheWalls"
  433. send " &e/team <1-4> - Startuje arene TheWalls"
  434. send " &e/tep <nick> - Startuje arene TheWalls"
  435. stop
  436. if arg 2 is "2":
  437. send " &2Strona 2/3"
  438. send " &b=-=-=-=-= TheWalls =-=-=-=-="
  439. send " &eTheWalls to minigierka w ktorej sa cztery"
  440. send " &edruzyny: 1 - zielona, 2 - niebieska, "
  441. send " &e3 - czerwona, 4 - zolta. Jest 10 min."
  442. send " &ena zbieranie(kopanie, zbieranie drewna."
  443. send " &eSurowce wypadaja ze stone(kamienia)."
  444. send " &eNastepnie opadaja sciany i najlepiej"
  445. send " &ezebrac jak najwiecej skrzynek ze srodka."
  446. send " &eJesli przez 10 min. walki po opadnieciu"
  447. send " &escian jedna druzyna nie zostanie i nie"
  448. send " &ewygra rozpocznie sie DeathMatch. Tam"
  449. send " &eroztrzygnie sie bitwa"
  450. stop
  451. if arg 2 is "3":
  452. send " &cStrona 3/3"
  453. send " &b=-=-=-=-= TheWalls =-=-=-=-="
  454. send " &eZa zabicie gracza otrzymujemy +5 monet"
  455. send " &enatomiast za wygrana +15 monet. W czasie"
  456. send " &eeventow za zabicie bedzie +10 monet, a"
  457. send " &eza wygrana +30 monet. Eventy beda srednio"
  458. send " &eco 1 mies. i beda trwaly ok. caly weekend."
  459. stop
  460. if arg 1 is "start":
  461. loop all players:
  462. execute server command "bc Gra zacznie sie za 60 sekund!"
  463. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 60 sekund!"
  464. wait 1 second
  465. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 59 sekund!"
  466. wait 1 second
  467. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 58 sekund!"
  468. wait 1 second
  469. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 57 sekund!"
  470. wait 1 second
  471. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 56 sekund!"
  472. wait 1 second
  473. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 55 sekund!"
  474. wait 1 second
  475. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 54 sekund!"
  476. wait 1 second
  477. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 53 sekund!"
  478. wait 1 second
  479. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 52 sekund!"
  480. wait 1 second
  481. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 51 sekund!"
  482. wait 1 second
  483. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 50 sekund!"
  484. wait 1 second
  485. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 49 sekund!"
  486. wait 1 second
  487. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 48 sekund!"
  488. wait 1 second
  489. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 47 sekund!"
  490. wait 1 second
  491. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 46 sekund!"
  492. wait 1 second
  493. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 45 sekund!"
  494. wait 1 second
  495. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 44 sekund!"
  496. wait 1 second
  497. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 43 sekund!"
  498. wait 1 second
  499. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 42 sekund!"
  500. wait 1 second
  501. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 41 sekund!"
  502. wait 1 second
  503. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 40 sekund!"
  504. wait 1 second
  505. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 39 sekund!"
  506. wait 1 second
  507. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 38 sekund!"
  508. wait 1 second
  509. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 37 sekund!"
  510. wait 1 second
  511. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 36 sekund!"
  512. wait 1 second
  513. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 35 sekund!"
  514. wait 1 second
  515. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 34 sekund!"
  516. wait 1 second
  517. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 33 sekund!"
  518. wait 1 second
  519. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 32 sekund!"
  520. wait 1 second
  521. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 31 sekund!"
  522. wait 1 second
  523. execute server command "bc Gra zacznie sie za 30 sekund!"
  524. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 30 sekund!"
  525. wait 1 second
  526. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 29 sekund!"
  527. wait 1 second
  528. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 28 sekund!"
  529. wait 1 second
  530. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 27 sekund!"
  531. wait 1 second
  532. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 26 sekund!"
  533. wait 1 second
  534. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 25 sekund!"
  535. wait 1 second
  536. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 24 sekund!"
  537. wait 1 second
  538. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 23 sekund!"
  539. wait 1 second
  540. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 22 sekund!"
  541. wait 1 second
  542. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 21 sekund!"
  543. wait 1 second
  544. execute server command "bc Gra zacznie sie za 20 sekund!"
  545. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 20 sekund!"
  546. wait 1 second
  547. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 19 sekund!"
  548. wait 1 second
  549. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 18 sekund!"
  550. wait 1 second
  551. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 17 sekund!"
  552. wait 1 second
  553. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 16 sekund!"
  554. wait 1 second
  555. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 15 sekund!"
  556. wait 1 second
  557. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 14 sekund!"
  558. wait 1 second
  559. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 13 sekund!"
  560. wait 1 second
  561. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 12 sekund!"
  562. wait 1 second
  563. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 11 sekund!"
  564. wait 1 second
  565. execute server command "bc Gra zacznie sie za 10 sekund!"
  566. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 10 sekund!"
  567. wait 1 second
  568. execute server command "bc Gra zacznie sie za 9 sekund!"
  569. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 9 sekund!"
  570. wait 1 second
  571. execute server command "bc Gra zacznie sie za 8 sekund!"
  572. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 8 sekund!"
  573. wait 1 second
  574. execute server command "bc Gra zacznie sie za 7 sekund!"
  575. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 7 sekund!"
  576. wait 1 second
  577. execute server command "bc Gra zacznie sie za 6 sekund!"
  578. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 6 sekund!"
  579. wait 1 second
  580. execute server command "bc Gra zacznie sie za 5 sekund!"
  581. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 5 sekund!"
  582. wait 1 second
  583. execute server command "bc Gra zacznie sie za 4 sekund!"
  584. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 4 sekund!"
  585. wait 1 second
  586. execute server command "bc Gra zacznie sie za 3 sekund!"
  587. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 3 sekund!"
  588. wait 1 second
  589. execute server command "bc Gra zacznie sie za 2 sekund!"
  590. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 2 sekund!"
  591. wait 1 second
  592. execute server command "bc Gra zacznie sie za 1 sekund!"
  593. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra zacznie sie za 1 sekund!"
  594. wait 1 second
  595. execute server command "motd set &2&l: &6&ls1.mc-Walls.pl &2&l: &6Gra juz trwa!"
  596. set {arena} to true
  597. if {team-1.%loop-player%} is true:
  598. teleport loop-player to {team1.pos}
  599. send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player
  600. wait 20 minutes
  601. teleport loop-player to {team1.pos3}
  602. if {team-2.%loop-player%} is true:
  603. teleport loop-player to {team2.pos}
  604. send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player
  605. wait 20 minutes
  606. teleport loop-player to {team2.pos3}
  607. if {team-3.%loop-player%} is true:
  608. teleport loop-player to {team3.pos}
  609. send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player
  610. wait 20 minutes
  611. teleport loop-player to {team3.pos3}
  612. if {team-4.%loop-player%} is true:
  613. teleport loop-player to {team4.pos}
  614. send "{@logo}&7Znajdujesz sie w &e[Team 4] &7!" to loop-player
  615. wait 20 minutes
  616. teleport loop-player to {team4.pos3}
  617. if {team-1.%loop-player%} or {team-2.%loop-player%} or {team-3.%loop-player%} or {team-4.%loop-player%} is false:
  618. chance of 25%:
  619. set {_1} to "%name of loop-player%"
  620. set {team-1.%loop-player%} to true
  621. set the loop-player's tablist name to "&a%name of loop-player%"
  622. teleport loop-player to {team1.pos}
  623. send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player
  624. wait 20 minutes
  625. teleport loop-player to {team1.pos3}
  626. chance of 25%:
  627. set {_2} to "%name of loop-player%"
  628. set {team-2.%loop-player%} to true
  629. set the loop-player's tablist name to "&b%name of loop-player%"
  630. teleport loop-player to {team2.pos}
  631. send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player
  632. wait 20 minutes
  633. teleport loop-player to {team2.pos3}
  634. chance of 25%:
  635. set {_3} to "%name of loop-player%"
  636. set {team-3.%loop-players%} to true
  637. set the loop-player's tablist name to "&c%name of loop-player%"
  638. teleport loop-player to {team3.pos}
  639. send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player
  640. wait 20 minutes
  641. teleport loop-player to {team3.pos3}
  642. chance of 25%:
  643. set {_4} to "%name of loop-player%"
  644. set {team-4.%loop-players%} to true
  645. set the loop-player's tablist name to "&e%name of loop-player%"
  646. teleport loop-player to {team4.pos}
  647. send "{@logo}&7Znajdujesz sie w &e[Team 4] &7!" to loop-player
  648. wait 20 minutes
  649. teleport loop-player to {team4.pos3}
  650. if {arena} is true:
  651. wait 5 minutes
  652. execute server command "bc &7Sciany opadna za 5 minut!"
  653. wait 3 minutes
  654. execute server command "bc &7Sciany opadna za 2 minuty!"
  655. wait 1 minute
  656. execute server command "bc &7Sciany opadna za 1 minute!"
  657. wait 30 second
  658. execute server command "bc &7Sciany opadna za 30 sekund!"
  659. wait 10 second
  660. execute server command "bc &7Sciany opadna za 20 sekund!"
  661. wait 10 second
  662. execute server command "bc &7Sciany opadna za 10 sekund!"
  663. wait 1 second
  664. execute server command "bc &7Sciany opadna za 9 sekund!"
  665. wait 1 second
  666. execute server command "bc &7Sciany opadna za 8 sekund!"
  667. wait 1 second
  668. execute server command "bc &7Sciany opadna za 7 sekund!"
  669. wait 1 second
  670. execute server command "bc &7Sciany opadna za 6 sekund!"
  671. wait 1 second
  672. execute server command "bc &7Sciany opadna za 5 sekund!"
  673. wait 1 second
  674. execute server command "bc &7Sciany opadna za 4 sekundy!"
  675. wait 1 second
  676. execute server command "bc &7Sciany opadna za 3 sekundy!"
  677. wait 1 second
  678. execute server command "bc &7Sciany opadna za 2 sekundy!"
  679. wait 1 second
  680. execute server command "bc &7Sciany opadna za 1 sekunde!"
  681. wait 1 second
  682. execute server command "bc &7Sciany opadly!"
  683. execute server command "falldown"
  684. wait 10 minutes
  685. execute server command "bc &7Deathmatch rozpoczety!"
  686. stop
  687. if arg 1 is "reload":
  688. execute server command "skript reload TheWalls"
  689. reset {team-1.%player%}
  690. reset {team-2.%player%}
  691. reset {team-3.%player%}
  692. reset {team-4.%player%}
  693. reset {players::team1::*}
  694. reset {players::team2::*}
  695. reset {players::team3::*}
  696. reset {players::team4::*}
  697. set {arena} to false
  698. stop
  699. every 5 second:
  700. if {arena::gra::*} is true:
  701. loop all players:
  702. if {players::team2::*} is 0:
  703. if {players::team3::*} is 0:
  704. {players::team4::*} is 0:
  705. execute server command "kickall Druzyna 1 zwyciezyla!"
  706. execute server command "stop"
  707. stop
  708. if {players::team1::*} is 0:
  709. if {players::team3::*} is 0:
  710. if {players::team4::*} is 0:
  711. execute server command "kickall Druzyna 2 zwyciezyla!"
  712. execute server command "stop"
  713. stop
  714. if {players::team1::*} is 0:
  715. if {players::team2::*} is 0:
  716. if {players::team4::*} is 0:
  717. execute server command "kickall Druzyna 3 zwyciezyla!"
  718. execute server command "stop"
  719. stop
  720. if {players::team1::*} is 0:
  721. if {players::team2::*} is 0:
  722. {players::team3::*} is 0:
  723. execute server command "kickall Druzyna 4 zwyciezyla!"
  724. execute server command "stop"
  725. stop
  726. on chat:
  727. if {arena} is true:
  728. if {team-1.%player%} is true:
  729. set {_1} to "%name of player%"
  730. set the player's display name to "%player's prefix%&7[&aTeam 1&7]&f%player%"
  731. set the player's tablist name to "&a%name of player%"
  732. stop
  733. if {team-2.%player%} is true:
  734. set {_2} to "%name of player%"
  735. set the player's display name to "%player's prefix%&7[&bTeam 2&7]&f%player%"
  736. set the player's tablist name to "&b%name of player%"
  737. stop
  738. if {team-3.%player%} is true:
  739. set {_3} to "%name of player%"
  740. set the player's display name to "%player's prefix%&7[&cTeam 3&7]&f%player%"
  741. set the player's tablist name to "&c%name of player%"
  742. stop
  743. if {team-4.%player%} is true:
  744. set {_4} to "%name of player%"
  745. set the player's display name to "%player's prefix%&7[&eTeam 4&7]&f%player%"
  746. set the player's tablist name to "&e%name of player%"
  747. stop
  748. if {team-1.%player%} is false:
  749. set the player's tablist name to "&f%name of player%"
  750. stop
  751. if {team-2.%player%} is false:
  752. set the player's tablist name to "&f%name of player%"
  753. stop
  754. if {team-3.%player%} is false:
  755. set the player's tablist name to "&f%name of player%"
  756. stop
  757. if {team-4.%player%} is false:
  758. set the player's tablist name to "&f%name of player%"
  759. stop
  760. on quit:
  761. if {team-1.%player%} is true:
  762. execute server command "spawn %player%"
  763. execute server command "clear %player%"
  764. remove 1 from {players::team1::*}
  765. set {team-1.%player%} to false
  766. set the player's tablist name to "&f%name of player%"
  767. stop
  768. if {team-2.%player%} is true:
  769. execute server command "spawn %player%"
  770. execute server command "clear %player%"
  771. remove 1 from {players::team2::*}
  772. set {team-2.%player%} to false
  773. set the player's tablist name to "&f%name of player%"
  774. stop
  775. if {team-3.%player%} is true:
  776. execute server command "spawn %player%"
  777. execute server command "clear %player%"
  778. remove 1 from {players::team3::*}
  779. set {team-3.%player%} to false
  780. set the player's tablist name to "&f%name of player%"
  781. stop
  782. if {team-4.%player%} is true:
  783. execute server command "spawn %player%"
  784. execute server command "clear %player%"
  785. remove 1 from {players::team4::*}
  786. set {team-4.%player%} to false
  787. set the player's tablist name to "&f%name of player%"
  788. stop
  789. on death:
  790. if {arena} is true:
  791. if {team-1.%player%} is true:
  792. remove 1 from {players::team1::*}
  793. set {team-1.%player%} to false
  794. set the player's tablist name to "&f%name of player%"
  795. execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
  796. if attacker is player:
  797. if victim is player:
  798. send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
  799. stop
  800. if {team-2.%player%} is true:
  801. remove 1 from {players::team2::*}
  802. set {team-2.%player%} to false
  803. set the player's tablist name to "&f%name of player%"
  804. execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
  805. if attacker is player:
  806. if victim is player:
  807. send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
  808. stop
  809. if {team-3.%player%} is true:
  810. remove 1 from {players::team3::*}
  811. set {team-3.%player%} to false
  812. set the player's tablist name to "&f%name of player%"
  813. execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
  814. if attacker is player:
  815. if victim is player:
  816. send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
  817. stop
  818. if {team-4.%player%} is true:
  819. remove 1 from {players::team4::*}
  820. set {team-4.%player%} to false
  821. set the player's tablist name to "&f%name of player%"
  822. execute server command "kick %player% &7Zginales! &7Musisz czekac na zakonczenie rozgrywki. &7Jesli posiadasz range &6VIP&7/&3Super&6VIP &7mozesz obserwowac rozgrywke!"
  823. if attacker is player:
  824. if victim is player:
  825. send "&aGracz &e{team.%victim%}%victim% &azostał zabity przez gracza &e{team.%attacker%}%attacker% &az %attacker's tool%!"
  826. stop
  827.  
  828. on damage:
  829. if {arena} is true:
  830. if {team-1.%attacker%} is true:
  831. if {team-1.%victim%} is true:
  832. cancel event
  833. if {team-2.%attacker%} is true:
  834. if {team-2.%victim%} is true:
  835. cancel event
  836. if {team-3.%attacker%} is true:
  837. if {team-3.%victim%} is true:
  838. cancel event
  839. if {team-4.%attacker%} is true:
  840. if {team-4.%victim%} is true:
  841. cancel event
  842. on join:
  843. if {arena} is true:
  844. execute server command "kick %player% &7Musisz czekac na zakończenie rozgrywki!"
  845. stop
  846. on command "team 1":
  847. if {arena} is true:
  848. cancel event
  849. send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
  850. on command "team 2":
  851. if {arena} is true:
  852. cancel event
  853. send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
  854. on command "team 3":
  855. if {arena} is true:
  856. cancel event
  857. send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
  858. on command "team 4":
  859. if {arena} is true:
  860. cancel event
  861. send "{@logo}Nie mozesz wybierac teamu podczas rozgrywki!"
  862. on command "team leave":
  863. if {arena} is true:
  864. cancel event
  865. send "{@logo}&7Nie mozesz wychodzic z teamu podczas rozgrywki!"
  866. on rightclick on sign:
  867. if line 1 is "&f&lZESTAW":
  868. if line 2 is "&f&lGORNIKA":
  869. if {team-1.%player%} is true:
  870. execute server command "kit gornik %player%"
  871. teleport player to {team1.pos2}
  872. stop
  873. if {team-2.%player%} is true:
  874. execute server command "kit gornik %player%"
  875. teleport player to {team2.pos2}
  876. stop
  877. if {team-3.%player%} is true:
  878. execute server command "kit gornik %player%"
  879. teleport player to {team3.pos2}
  880. stop
  881. if {team-4.%player%} is true:
  882. execute server command "kit gornik %player%"
  883. teleport player to {team4.pos2}
  884. stop
  885. if line 1 is "&6&lZESTAW":
  886. if line 2 is "&f&lGORNIKA":
  887. if {team-1.%player%} is true:
  888. execute server command "kit gornikvip %player%"
  889. teleport player to {team1.pos2}
  890. stop
  891. if {team-2.%player%} is true:
  892. execute server command "kit gornikvip %player%"
  893. teleport player to {team2.pos2}
  894. stop
  895. if {team-3.%player%} is true:
  896. execute server command "kit gornikvip %player%"
  897. teleport player to {team3.pos2}
  898. stop
  899. if {team-4.%player%} is true:
  900. execute server command "kit gornikvip %player%"
  901. teleport player to {team4.pos2}
  902. stop
  903. if line 1 is "&b&lZESTAW":
  904. if line 2 is "&f&lGORNIKA":
  905. if {team-1.%player%} is true:
  906. execute server command "kit gorniksupervip %player%"
  907. teleport player to {team1.pos2}
  908. stop
  909. if {team-2.%player%} is true:
  910. execute server command "kit gorniksupervip %player%"
  911. teleport player to {team2.pos2}
  912. stop
  913. if {team-3.%player%} is true:
  914. execute server command "kit gorniksupervip %player%"
  915. teleport player to {team3.pos2}
  916. stop
  917. if {team-4.%player%} is true:
  918. execute server command "kit gorniksupervip %player%"
  919. teleport player to {team4.pos2}
  920. stop
  921. if line 1 is "&f&lZESTAW":
  922. if line 2 is "&f&lLUCZNIKA":
  923. if {team-1.%player%} is true:
  924. execute server command "kit lucznik %player%"
  925. teleport player to {team1.pos2}
  926. stop
  927. if {team-2.%player%} is true:
  928. execute server command "kit lucznik %player%"
  929. teleport player to {team2.pos2}
  930. stop
  931. if {team-3.%player%} is true:
  932. execute server command "kit lucznik %player%"
  933. teleport player to {team3.pos2}
  934. stop
  935. if {team-4.%player%} is true:
  936. execute server command "kit lucznik %player%"
  937. teleport player to {team4.pos2}
  938. stop
  939. if line 1 is "&6&lZESTAW":
  940. if line 2 is "&f&lLUCZNIKA":
  941. if {team-1.%player%} is true:
  942. execute server command "kit lucznikvip %player%"
  943. teleport player to {team1.pos2}
  944. stop
  945. if {team-2.%player%} is true:
  946. execute server command "kit lucznikvip %player%"
  947. teleport player to {team2.pos2}
  948. stop
  949. if {team-3.%player%} is true:
  950. execute server command "kit lucznikvip %player%"
  951. teleport player to {team3.pos2}
  952. stop
  953. if {team-4.%player%} is true:
  954. execute server command "kit lucznikvip %player%"
  955. teleport player to {team4.pos2}
  956. stop
  957. if line 1 is "&b&lZESTAW":
  958. if line 2 is "&f&lLUCZNIKA":
  959. if {team-1.%player%} is true:
  960. execute server command "kit luczniksupervip %player%"
  961. teleport player to {team1.pos2}
  962. stop
  963. if {team-2.%player%} is true:
  964. execute server command "kit luczniksupervip %player%"
  965. teleport player to {team2.pos2}
  966. stop
  967. if {team-3.%player%} is true:
  968. execute server command "kit luczniksupervip %player%"
  969. teleport player to {team3.pos2}
  970. stop
  971. if {team-4.%player%} is true:
  972. execute server command "kit luczniksupervip %player%"
  973. teleport player to {team4.pos2}
  974. stop
  975. if line 1 is "&f&lZESTAW":
  976. if line 2 is "&f&lDRWALA":
  977. if {team-1.%player%} is true:
  978. execute server command "kit drwal %player%"
  979. teleport player to {team1.pos2}
  980. stop
  981. if {team-2.%player%} is true:
  982. execute server command "kit drwal %player%"
  983. teleport player to {team2.pos2}
  984. stop
  985. if {team-3.%player%} is true:
  986. execute server command "kit drwal %player%"
  987. teleport player to {team3.pos2}
  988. stop
  989. if {team-4.%player%} is true:
  990. execute server command "kit drwal %player%"
  991. teleport player to {team4.pos2}
  992. stop
  993. if line 1 is "&6&fZESTAW":
  994. if line 2 is "&f&lDRWALA":
  995. if {team-1.%player%} is true:
  996. execute server command "kit drwalvip %player%"
  997. teleport player to {team1.pos2}
  998. stop
  999. if {team-2.%player%} is true:
  1000. execute server command "kit drwalvip %player%"
  1001. teleport player to {team2.pos2}
  1002. stop
  1003. if {team-3.%player%} is true:
  1004. execute server command "kit drwalvip %player%"
  1005. teleport player to {team3.pos2}
  1006. stop
  1007. if {team-4.%player%} is true:
  1008. execute server command "kit drwalvip %player%"
  1009. teleport player to {team4.pos2}
  1010. stop
  1011. if line 1 is "&b&lZESTAW":
  1012. if line 2 is "&f&lDRWALA":
  1013. if {team-1.%player%} is true:
  1014. execute server command "kit drwalsupervip %player%"
  1015. teleport player to {team1.pos2}
  1016. stop
  1017. if {team-2.%player%} is true:
  1018. execute server command "kit drwalsupervip %player%"
  1019. teleport player to {team2.pos2}
  1020. stop
  1021. if {team-3.%player%} is true:
  1022. execute server command "kit drwalsupervip %player%"
  1023. teleport player to {team3.pos2}
  1024. stop
  1025. if {team-4.%player%} is true:
  1026. execute server command "kit drwalsupervip %player%"
  1027. teleport player to {team4.pos2}
  1028. stop
  1029. if line 1 is "&f&lZESTAW":
  1030. if line 2 is "&f&lWOJOWNIKA":
  1031. if {team-1.%player%} is true:
  1032. execute server command "kit wojownik %player%"
  1033. teleport player to {team1.pos2}
  1034. stop
  1035. if {team-2.%player%} is true:
  1036. execute server command "kit wojownik %player%"
  1037. teleport player to {team2.pos2}
  1038. stop
  1039. if {team-3.%player%} is true:
  1040. execute server command "kit wojownik %player%"
  1041. teleport player to {team3.pos2}
  1042. stop
  1043. if {team-4.%player%} is true:
  1044. execute server command "kit wojownik %player%"
  1045. teleport player to {team4.pos2}
  1046. stop
  1047. if line 1 is "&6&lZESTAW":
  1048. if line 2 is "&f&lWOJOWNIKA":
  1049. if {team-1.%player%} is true:
  1050. execute server command "kit wojownikvip %player%"
  1051. teleport player to {team1.pos2}
  1052. stop
  1053. if {team-2.%player%} is true:
  1054. execute server command "kit wojownikvip %player%"
  1055. teleport player to {team2.pos2}
  1056. stop
  1057. if {team-3.%player%} is true:
  1058. execute server command "kit wojownikvip %player%"
  1059. teleport player to {team3.pos2}
  1060. stop
  1061. if {team-4.%player%} is true:
  1062. execute server command "kit wojownikvip %player%"
  1063. teleport player to {team4.pos2}
  1064. stop
  1065. if line 1 is "&b&lZESTAW":
  1066. if line 2 is "&f&lWOJOWNIKA":
  1067. if {team-1.%player%} is true:
  1068. execute server command "kit wojowniksupervip %player%"
  1069. teleport player to {team1.pos2}
  1070. stop
  1071. if {team-2.%player%} is true:
  1072. execute server command "kit wojowniksupervip %player%"
  1073. teleport player to {team2.pos2}
  1074. stop
  1075. if {team-3.%player%} is true:
  1076. execute server command "kit wojowniksupervip %player%"
  1077. teleport player to {team3.pos2}
  1078. stop
  1079. if {team-4.%player%} is true:
  1080. execute server command "kit wojowniksupervip %player%"
  1081. teleport player to {team4.pos2}
  1082. stop
  1083. if line 1 is "&b&lZESTAW":
  1084. if line 2 is "&f&lALCHEMIKA":
  1085. if {team-1.%player%} is true:
  1086. execute server command "kit alchemiksupervip %player%"
  1087. teleport player to {team1.pos2}
  1088. stop
  1089. if {team-2.%player%} is true:
  1090. execute server command "kit alchemiksupervip %player%"
  1091. teleport player to {team2.pos2}
  1092. stop
  1093. if {team-3.%player%} is true:
  1094. execute server command "kit alchemiksupervip %player%"
  1095. teleport player to {team3.pos2}
  1096. stop
  1097. if {team-4.%player%} is true:
  1098. execute server command "kit alchemiksupervip %player%"
  1099. teleport player to {team4.pos2}
  1100. stop
Advertisement
Add Comment
Please, Sign In to add comment