Skocz do zawartości
  • 0

MrGoraj
 Udostępnij

Pytanie

Witam mam problem ze sktyptem który do pewnego czasu chodził dobrze jednak teraz zauważyłem że gracze mają ciągle rangi rekrut zamiast wyższych

Kod: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
 

Spoiler
#=========#
#  SERIE  #
#=========#
variables:
	{zabojstwa::%player%} = 0
	{smierci::%player%) = 0
	{seria::%player%} = 0
	{DW::%player%} = 0
	{najwiekszaseria::%player%} = 0
command /statystyki [<offlineplayer>]:
	aliases: staty
	usage: &7Poprawne uzycie tej komendy to &9/staty [Nick]
	trigger:
		if arg 1 is set:
			send "&c&l------------------------------"
			send "&7Statystyki Gracza&9: %argument 1%"
			send "&7Ilosc Zabojstw&9: %{zabojstwa::%argument 1%}%"
			send "&7Ilosc Zgonow&9: %{smierci::%argument 1%}%"
			send "&7Najwieksza seria zabojstw&9: %{najwiekszaseria::%argument 1%}%"
			send "&7Aktualna seria zabojstw&9: %{seria::%argument 1%}%"
			send "&7Ilosc DW&9: %{DW::%argument 1%}%"
			if {team::%player%} = 1:
				send "&lDruzyna: &l&cCzerwoni"
			if {team::%player%} = 2:
				send "&lDruzyna: &l&9Niebiescy"
				send "&c&l------------------------------"
		if arg 1 is not set:
			send "&c&l------------------------------"
			send "&7Statystyki Gracza&9: %player%"
			send "&7Ilosc Zabojstw&9: %{zabojstwa::%player%}%"
			send "&7Ilosc Zgonow&9: %{smierci::%player%}%"
			send "&7Najwieksza seria zabojstw&9: %{najwiekszaseria::%player%}%"
			send "&7Aktualna seria zabojstw&9: %{seria::%player%}%"
			send "&7Ilosc DW&9: %{DW::%player%}%"
			if {team::%player%} = 1:
				send "&lDruzyna: &l&cCzerwoni"
			if {team::%player%} = 2:
				send "&lDruzyna: &l&9Niebiescy"
				send "&c&l------------------------------"
  
#=========#
#  SERIE  #
#=========#
on death of player:
	attacker is a player
	victim is a player
	add 1 to {zabojstwa::%attacker%}
	add 1 to {seria::%attacker%}
	add 1 to {smierci::%victim%}
	send "&cZostales zabity przez &4%attacker%" to victim
	give attacker 32 coal
	if {seria::%player%} is greater than {najwiekszaseria::%player%}:
		set {najwiekszaseria::%player%} to {seria::%player%}
	if {seria::%attacker%} is 0:
		stop
	if {seria::%attacker%} is 1:
		add 1 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a1 &6DW" to attacker
		stop
	if {seria::%attacker%} is 2:
		add 2 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a2 &6DW" to attacker
		stop
	if {seria::%attacker%} is 3:
		add 3 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a3 &6DW" to attacker
		stop
	if {seria::%attacker%} is 4:
		add 4 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a5 &6DW" to attacker
		stop
	if {seria::%attacker%} is 5:
		add 5 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a5 &6DW" to attacker
		stop
	if {seria::%attacker%} is 6:
		add 10 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a10 &6DW" to attacker
		stop
	if {seria::%attacker%} is 7:
		add 15 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a15 &6DW" to attacker
		stop
	if {seria::%attacker%} is 8:
		add 20 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a20 &6DW" to attacker
		stop
	if {seria::%attacker%} is 9:
		add 25 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a25 &6DW" to attacker
		stop
	if {seria::%attacker%} is 10:
		add 30 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a30 &6DW" to attacker
		stop
	if {seria::%attacker%} is 11:
		add 35 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a35 &6DW" to attacker
		stop
	if {seria::%attacker%} is 12:
		add 40 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a40 &6DW" to attacker
		stop
	if {seria::%attacker%} is 13:
		add 45 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a45 &6DW" to attacker
		stop
	if {seria::%attacker%} is greater than or equal to 14:
		add 50 to {DW::%attacker%}
		send "&6Zabiles &a%victim% &6i dostales &a50 &6DW" to attacker
		stop
on join:
	set {seria::%player%} to 0
on death of player:
	set {seria::%player%} to 0
on quit:
	set {seria::%player%} to 0
	
#=========#
#  RANGI  #
#=========#
				
On chat:
	Cancel event
	if {team::%player%} is 2:	
		if {DW::%player%} is greater than or equal to 0:
			if has permission "wiad.vip":				
				broadcast "&l&2[Rekrut] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":							
				broadcast "&l&2[Rekrut] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Rekrut] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Rekrut] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 11:
			if has permission "wiad.vip":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Szeregowy pierwszej klasy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 25:
			if has permission "wiad.vip":
				broadcast "&l&2[Mlodszy szeregowy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Mlodszy szeregowy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[RMlodszy szeregowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Mlodszy szeregowy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 50:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Szeregowy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Szeregowy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Szeregowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Szeregowy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 100:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant] &9%player%&7: %colored message%"
		if {DW::%player%} is greater than or equal to 200:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy sierzant] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy sierzant] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy sierzant] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 350:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant sztabowy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant sztabowy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant sztabowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant sztabowy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 500:
			if has permission "wiad.vip":
				broadcast "&l&2[Glowny sierzant] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Glowny sierzant] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Glowny sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Glowny sierzant] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 750:
			if has permission "wiad.gracz":
				broadcast "&2[Pierwszy sierzant] &9%player%&7: %colored message%"
				stop
			if has permission "wiad.vip":
				broadcast "&l&2[Pierwszy sierzant] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Pierwszy sierzant] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Pierwszy sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Pierwszy sierzant] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1000:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant glowny sztabowy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1400:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant major] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant major] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant major] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 2000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podchorazy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podchorazy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podchorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Podchorazy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 3000:
			if has permission "wiad.vip":
				broadcast "&l&2[Chorazy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Chorazy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Chorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Chorazy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 4500:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Chorazy] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Chorazy] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Chorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Chorazy] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 6500:
			if has permission "wiad.vip":
				broadcast "&l&2[Kapral] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Kapral] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Kapral] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Kapral] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 9000:
			if has permission "wiad.vip":
				broadcast "&l&2[Mlodszy Porucznik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Mlodszy Porucznik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Mlodszy Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Mlodszy Porucznik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 13000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podporucznik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podporucznik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podporucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Podporucznik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 18000:
			if has permission "wiad.vip":
				broadcast "&l&2[Porucznik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Porucznik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Porucznik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 24000:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Porucznik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Porucznik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Porucznik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 31000:
			if has permission "wiad.vip":
				broadcast "&l&2[Kapitan] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Kapitan] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Kapitan] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Kapitan] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 39000:
			if has permission "wiad.vip":
				broadcast "&l&2[Major] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Major] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Major] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 48000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podpulkownik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podpulkownik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podpulkownik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Podpulkownik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 58000:
			if has permission "wiad.vip":
				broadcast "&l&2[Pulkownik] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Pulkownik] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Pulkownik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Pulkownik] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 69000:
			if has permission "wiad.vip":
				broadcast "&l&2[Szef korpusu] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Szef korpusu] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Szef korpusu] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Szef korpusu] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 81000:
			if has permission "wiad.vip":
				broadcast "&l&2[General] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[General] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[General] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[General] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 86000:
			if has permission "wiad.vip":
				broadcast "&l&2[eneral major] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[eneral major] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[eneral major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[General major] &9%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1000000:
			if has permission "wiad.vip":
				broadcast "&l&2[Weteran] &l&6[Premium] &l&9%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Weteran] &l&8[Czat Mod] &l&9%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Weteran] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Weteran] &9%player%&7: %colored message%"
				stop
	if {team::%player%} is 1:
		if {DW::%player%} is greater than or equal to 0:
			if has permission "wiad.vip":
				broadcast "&l&2[Rekrut] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Rekrut] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Rekrut] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Rekrut] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 11:
			if has permission "wiad.vip":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Szeregowy pierwszej klasy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Szeregowy pierwszej klasy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 25:
			if has permission "wiad.vip":
				broadcast "&l&2[Mlodszy szeregowy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Mlodszy szeregowy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[RMlodszy szeregowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Mlodszy szeregowy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 50:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Szeregowy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Szeregowy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Szeregowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Szeregowy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 100:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 200:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy sierzant] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy sierzant] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy sierzant] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 350:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant sztabowy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant sztabowy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant sztabowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant sztabowy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 500:
			if has permission "wiad.vip":
				broadcast "&l&2[Glowny sierzant] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Glowny sierzant] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Glowny sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Glowny sierzant] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 750:
			if has permission "wiad.vip":
				broadcast "&l&2[Pierwszy sierzant] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Pierwszy sierzant] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Pierwszy sierzant] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Pierwszy sierzant] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1000:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant glowny sztabowy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant glowny sztabowy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1400:
			if has permission "wiad.vip":
				broadcast "&l&2[Sierzant major] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Sierzant major] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Sierzant major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Sierzant major] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 2000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podchorazy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podchorazy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podchorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Podchorazy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 3000:
			if has permission "wiad.vip":
				broadcast "&l&2[Chorazy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Chorazy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Chorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Chorazy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 4500:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Chorazy] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Chorazy] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Chorazy] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Chorazy] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 6500:
			if has permission "wiad.vip":
				broadcast "&l&2[Kapral] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Kapral] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Kapral] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Kapral] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 9000:
			if has permission "wiad.vip":
				broadcast "&l&2[Mlodszy Porucznik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Mlodszy Porucznik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Mlodszy Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Mlodszy Porucznik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 13000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podporucznik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podporucznik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podporucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:	
				broadcast "&2[Podporucznik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 18000:
			if has permission "wiad.vip":
				broadcast "&l&2[Porucznik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Porucznik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Porucznik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 24000:
			if has permission "wiad.vip":
				broadcast "&l&2[Starszy Porucznik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Starszy Porucznik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Starszy Porucznik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Starszy Porucznik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 31000:
			if has permission "wiad.vip":
				broadcast "&l&2[Kapitan] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Kapitan] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Kapitan] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Kapitan] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 39000:
			if has permission "wiad.vip":
				broadcast "&l&2[Major] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Major] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Major] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 48000:
			if has permission "wiad.vip":
				broadcast "&l&2[Podpulkownik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Podpulkownik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Podpulkownik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Podpulkownik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 58000:
			if has permission "wiad.vip":
				broadcast "&l&2[Pulkownik] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Pulkownik] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Pulkownik] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Pulkownik] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 69000:
			if has permission "wiad.vip":
				broadcast "&l&2[Szef korpusu] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Szef korpusu] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Szef korpusu] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Szef korpusu] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 81000:
			if has permission "wiad.vip":
				broadcast "&l&2[General] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[General] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[General] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[General] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 86000:
			if has permission "wiad.vip":
				broadcast "&l&2[General major] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[General major] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[General major] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[General major] &c%player%&7: %colored message%"
				stop
		if {DW::%player%} is greater than or equal to 1000000:
			if has permission "wiad.vip":
				broadcast "&l&2[Weteran] &l&6[Premium] &l&c%player%&l&6: %colored message%"
				stop
			if has permission "wiad.czatmod":
				broadcast "&l&2[Weteran] &l&8[Czat Mod] &l&c%player%&l&8: %colored message%"
				stop
			if has permission "wiad.admin":
				broadcast "&l&2[Weteran] &l&4[Admin] &l&4%player%&l&c: %colored message%"
				stop
			else:
				broadcast "&2[Weteran] &c%player%&7: %colored message%"
				stop
command /rangi:
	trigger:
		send "&aRekrut: poziomy: 0-10"
		send "&aSzeregowy pierwszej klasy: poziomy: &611-25"
		send "&aMlodszy szeregowy: poziomy: &626-50"
		send "&aStarszy Szeregowy: poziomy: &651-100"
		send "&aSierzant: poziomy: &6101-200"
		send "&aStarszy sierzant: poziomy: &6201-350"
		send "&aSierzant sztabowy: poziomy: &6351-500"
		send "&aGlowny sierzant: poziomy: &6501-750"
		send "&aPierwszy sierzant: poziomy: &6751-1000"
		send "&aSierzant glowny sztabowy: poziomy: &61001-1400"
		send "&aSierzant major: poziomy: &61401-2000"
		send "&aPodchorazy: &62001-3000"
		send "&aChorazy: &63001-4500"
		send "&aStarszy Chorazy: &64501-6500"
		send "&aKapral: &66501-9000"
		send "&aPodporucznik: &69001-13000"
		send "&aMlodszy Porucznik: &613001-18000"
		send "&aPorucznik: &618001-24000"
		send "&aStarszy Porucznik: &624001-31000"
		send "&aKapitan: &631001-39000"
		send "&aMajor: &639001-48000"
		send "&aPodpulkownik: &648001-58000"
		send "&aPulkownik: &658001-69000"
		send "&aSzef korpusu: &669001-81000"
		send "&aGeneral: &681001-86000"
		send "&aGeneral major: &686001-1000000"
		send "&aWeteran: &61000000+"

 

//Kod w spoilerze ~Derpy

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Zauważyłem że jest tam tak:

if {DW::%player%} is greater than or equal to 0:

A to jest na samym początku. Wynika tutaj że gdy gracz będzie miał 0 albo i więcej DW to nada mu "range" Rekrut a do tego w złej kolejności masz ponieważ lepiej byłoby zacząć od uprawninia dla rangi wyższej aby ta nie miała Rekrut Premium

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...