Skocz do zawartości
  • 0

Top10


ReZuX
 Udostępnij

Pytanie

Witam, poszukuję aktualnie skrypt'a na TOP10. O co mi chodzi? Jak Gracz wpisze /top, lub top10 wyświetla mu się gui. W top gui ma być Top 10 wykopanego ston'a, top 10 wykopanego obsa, top10 zabitych ludzi, oraz top10 najdłuższych ludzi ktorży grajom.

 

2 skrypt który poszukuję to LVL na chat, oraz chat. O chat mi chodzi ze jak admin wpisze /chat off LVL 3 to chat bedzie dla lvl3 a na LVL mi chodzi ze jak wykopie powiedzmy troche stone da mu 1 level, i tak dalej :D

Jeżeli  ktoś pomoże dam mu lajka, (Bardzo mi pomożecie :) )

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on break of stone:
	add 1 to {stone::%player%}
on break of obsidian:
	add 1 to {obs::%player%}
on death:
	if attacker is a player:
		if victim is a player:
			add 1 to {kille::%attacker%}
every 1 minute:
	loop all players:
		add 1 to {czas::%loop-player%}
command /top10:
	trigger:
		set {_tool} to player's tool
		set player's tool to stone
		set name of the player's tool to "&6TOP10 wykopanego stone"
		open chest with 1 rows named "&5-------&b&lTOP&5-------" to player
		set {_r1} to size of {stone::*}
		loop {_r1} times:
			loop {stone::*}:
				if {_v1.%loop-number%} is not set:
					set {_v1.%loop-number%} to loop-value
					set {_i1.%loop-number%} to loop-index
				if loop-value is larger than {_v1.%loop-number%}:
					set {_v1.%loop-number%} to loop-value
					set {_i1.%loop-number%} to loop-index
			remove {_v1.%loop-number%} from {stone::*}	
		loop {_r1} times:	
			if loop-number is smaller than or equal to 10:		
				set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i1.%loop-number%}% &4wykopal &7%{_v1.%loop-number%}% &4stone"
			set {stone::%{_i1.%loop-number%}%} to {_v1.%loop-number%}
		set {asd1.%player%} to player's tool
		format slot 0 of player with {asd1.%player%} to be unstealable
		set player's tool to obsidian
		set name of the player's tool to "&6TOP10 wykopanego obsidianu"
		set {_r2} to size of {obs::*}
		loop {_r2} times:
			loop {obs::*}:
				if {_v2.%loop-number%} is not set:
					set {_v2.%loop-number%} to loop-value
					set {_i2.%loop-number%} to loop-index
				if loop-value is larger than {_v2.%loop-number%}:
					set {_v2.%loop-number%} to loop-value
					set {_i2.%loop-number%} to loop-index
			remove {_v2.%loop-number%} from {obs::*}	
		loop {_r2} times:	
			if loop-number is smaller than or equal to 10:		
				set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i2.%loop-number%}% &4wykopal &7%{_v2.%loop-number%}%&4 obidianu"
			set {obs::%{_i2.%loop-number%}%} to {_v2.%loop-number%}
		set {asd2.%player%} to player's tool
		format slot 1 of player with {asd2.%player%} to be unstealable		
		set player's tool to diamond sword
		set name of the player's tool to "&6TOP10 zabójstw"
		set {_r3} to size of {kille::*}
		loop {_r3} times:
			loop {kille::*}:
				if {_v3.%loop-number%} is not set:
					set {_v3.%loop-number%} to loop-value
					set {_i3.%loop-number%} to loop-index
				if loop-value is larger than {_v3.%loop-number%}:
					set {_v3.%loop-number%} to loop-value
					set {_i3.%loop-number%} to loop-index
			remove {_v3.%loop-number%} from {kille::*}	
		loop {_r3} times:	
			if loop-number is smaller than or equal to 10:		
				set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i3.%loop-number%}% &4zabil &7%{_v3.%loop-number%}%&4 graczy"
			set {kille::%{_i3.%loop-number%}%} to {_v3.%loop-number%}
		set {asd3.%player%} to player's tool
		format slot 2 of player with {asd3.%player%} to be unstealable	
		set player's tool to clock
		set name of the player's tool to "&6TOP10 czas gry"
		set {_r4} to size of {czas::*}
		loop {_r4} times:
			loop {czas::*}:
				if {_v4.%loop-number%} is not set:
					set {_v4.%loop-number%} to loop-value
					set {_i4.%loop-number%} to loop-index
				if loop-value is larger than {_v4.%loop-number%}:
					set {_v4.%loop-number%} to loop-value
					set {_i4.%loop-number%} to loop-index
			remove {_v4.%loop-number%} from {czas::*}	
		loop {_r4} times:	
			if loop-number is smaller than or equal to 10:		
				if {_v4.%loop-number%} >= 5:
					set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i4.%loop-number%}% &4gra juz &7%{_v4.%loop-number%}%&4 minut"
				if  {_v4.%loop-number%} is 2 or 3 or 4:
					set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i4.%loop-number%}% &4gra juz &7%{_v4.%loop-number%}%&4 minuty"
				if {_v4.%loop-number%} = 1: 
					set the loop-number st line of the tool's lore to "&a%loop-number%. &b%{_i4.%loop-number%}% &4gra juz &7%{_v4.%loop-number%}%&4 minute"
			set {czas::%{_i4.%loop-number%}%} to {_v4.%loop-number%}
		set {asd4.%player%} to player's tool
		set the player's tool to {_tool}
		format slot 3 of player with {asd4.%player%} to be unstealable		

prosze pisałem go 2 godzinki wiec licze na plusik :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
variables:
	{chat.lvl1} = true
	{chat.lvl2} = true
	{chat.lvl3} = true
	{chat.lvl4} = true
	{chat.lvl5} = true
	{chat.lvl6} = true
	{chat.lvl7} = true
	{chat.lvl8} = true
	{chat.lvl9} = true
	{chat.lvl10} = true	
command /chat [<text>] [<text>]:
	trigger:
		if player is op:
			if arg-1 is not set:
				send "/chat off/on all/liczba" to player	
			if arg-1 is "off":
				if arg-2 is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10":
					set {chat.lvl%arg-2%} to false
					broadcast "&4&l---------------------------------------------"
					broadcast ""
					broadcast "&9&lAdmin:&b&l%player%&4&l wyłaczył chat dla lvl&c&l %arg-2%"
					broadcast ""
					broadcast "&4&l---------------------------------------------"
			if arg-1 is "on":
				if arg-2 is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10":
					set {chat.lvl%arg-2%} to true
					broadcast "&2&l---------------------------------------------"
					broadcast ""
					broadcast "&9&lAdmin:&b&l%player%&2&l właczył chat dla lvl&c&l %arg-2%"
					broadcast ""
					broadcast "&2&l---------------------------------------------"
			if arg-1 is "on":
				if arg-2 is "all":
					loop 10 times:
						set {chat.lvl%loop-number%} to true
					loop 100 times:
						broadcast ""
					broadcast "&9&lAdmin:&b&l%player%&2&l wlaczył chat wszystkim"
					loop 5 times:
						broadcast ""
			if arg-1 is "off":
				if arg-2 is "all":
					loop 10 times:
						set {chat.lvl%loop-number%} to false
					loop 100 times:
						broadcast ""
					broadcast "&9&lAdmin:&b&l%player%&4&l wyłaczył chat wszystkim"
					loop 5 times:
						broadcast ""
on chat:
	if {stone::%player%} > 0:
		set {lvl.stone.%player%} to 1
	if {stone::%player%} > 100:
		set {lvl.stone.%player%} to 2
	if {stone::%player%} > 500:
		set {lvl.stone.%player%} to 3
	if {stone::%player%} > 1000:
		set {lvl.stone.%player%} to 4
	if {stone::%player%} > 2000:
		set {lvl.stone.%player%} to 5
	if {stone::%player%} > 5000:
		set {lvl.stone.%player%} to 6
	if {stone::%player%} > 10000:
		set {lvl.stone.%player%} to 7
	if {stone::%player%} > 20000:
		set {lvl.stone.%player%} to 8
	if {stone::%player%} > 50000:
		set {lvl.stone.%player%} to 9
	if {stone::%player%} > 100000:
		set {lvl.stone.%player%} to 10	
	set {_1} to {lvl.stone.%player%}
	if {lvl.stone.%player%} = {_1}:
		if {chat.lvl%{_1}%} = true:
			stop
		else:
			send "&b&lchat lvl &c&l%{_1}%&b&l jest aktualnie zablokowaly" to player
			cancel event

prosze tu jest skript na chat

/chat on [1,2,3,4,5,6,7,8,9,10] wlacza chat graczą z wybranym lvl

/chat off [1,2,3,4,5,6,7,8,9,10] wylacza chat graczą z wybranym lvl

/chat on all wlacza chat wszystkim gracza

/chat off al wylacza chat wszystkim gracza

1lvl - 0-100 stone

2lvl - 100-500 stone

3lvl - 500-1000 stone

4lvl - 1.000-2.000 stone

5lvl - 2.000-5.000 stone

6lvl - 5.000-10.000 stone

7lvl -10.000-20.000 stone

8lvl -20.000-50.000 stone

9lvl -50.000-100.000 stone

10lvl -więcej niż 100.000 stone

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

@up Dzieki za lvl, ale top10 nie dziala ;(

No i jak bys mogł z tym lvl robic ze na chat tez sie wyswietla, powiedzmy tak:
[LVL :::]  Ranga NICK wiadomosc :)
Z gory dzieki :D

Edytowane przez ReZuX
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ę...