# Skrypt By VajdeMoonPL # Zakaz Usuwania Od 1 Do 4 Linijki # Zakaz Zmieniania Kodu # Zakaz Bawienia Sie XD command /dodajkod [] []: trigger: if player is not op: send "&cTylko Gracz Z Op'em Moze Dodac Kod!" stop if arg 1 is "vip": if arg 2 is set: if length of arg 1 <= 20: set {_kod::*} to arg 2 wait a tick add {_kod::*} to {lista.vip::*} send "&aDodales Kod %arg 2%" stop if arg 1 is "svip": if arg 2 is set: if length of arg 1 <= 20: set {_kod::*} to arg 2 wait a tick add {_kod::*} to {lista.svip::*} send "&aDodales Kod %arg 2%" stop if arg 1 is "sponsor": if arg 2 is set: if length of arg 1 <= 20: set {_kod::*} to arg 2 wait a tick add {_kod::*} to {lista.sponsor::*} send "&aDodales Kod %arg 2%" stop else: send "&cPrawidlowe Uzycie: &a/dodajkod " command /lista: permission: sk.admin trigger: send "&eVIP: %{lista.vip::*}%" send "&dS&eVIP: %{lista.svip::*}%" send "&9SPONSOR: %{lista.sponsor::*}%" command /kod []: trigger: if arg 1 is not set: send "&aUzycie: &c/kod " if arg 1 is set: loop {lista.vip::*}: if loop-value is arg 1: execute console command "/pex group Vip add %player% * 2 592 000" broadcast "&aGracz &c%player% &aAktywowal Kod Na 30 Dni Konta VIP" remove arg 1 from {lista.vip::*} stop if arg 1 is set: loop {lista.svip::*}: if loop-value is arg 1: execute console command "/pex group SVip add %player% * 2 592 000" broadcast "&aGracz &c%player% &aAktywowal Kod Na 30 Dni Konta SVIP" remove arg 1 from {lista.svip::*} stop if arg 1 is set: loop {lista.sponsor::*}: if loop-value is arg 1: execute console command "/pex group Sponsor add %player% * 2 592 000" broadcast "&aGracz &c%player% &aAktywowal Kod Na 30 Dni Konta Sponsor" remove arg 1 from {lista.sponsor::*} stop if arg 1 is set: loop {lista.vip::*} and {lista.vip::*} and {lista.vip::*}: if loop-value isn't arg 1: send "&cNie Ma Takiego Kodu!" stop