Skocz do zawartości
  • 0

[Problem] Skrypt na sprawdzanie


Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

masz ziomek, ale teraz tak: 1. Jak dajesz taby to dawaj wszędzie taby albo jak spacje to spacje

variables:
	{cheat.%player%} = false
   

command /cheat sprawdz [<player>]:
	trigger:
		if player has permission "cheat_admin":
			set {cheat.%arg 1%} to 1
			teleport arg 1 to {cheatroom}
			send "&b==============================================" to arg 1
			send "&a											  " to arg 1
			send "&b==============================================" to arg 1
			send "&6Jestes sprawdzany!" to arg 1
			send "&6Mozesz sie przyznac lub dostaniesz perma!" to arg 1
			send "&6Przyznanie = ban 7 dni" to arg 1
			send "&6Postepuj zgodnie ze wskazowkami sprawdzajacego" to arg 1
			send "&6Logout = PERM" to arg 1
			send "&b==============================================" to arg 1
			wait 5 ticks
			broadcast "&eGracz &6%arg 1% &ejest sprawdzany przez &6%player%"
			teleport player to arg 1
		else:
			send "&cNie możesz użyć tej komendy"    
            
command /cheat2 setroom:
	executable by: player
	trigger:
		if player has permission "cheat_admin":
			set {cheatroom} to location of player
			send "   &7⁕ &2stawiles Cheat room !"
			stop
            
command /cheat3:
	executable by: players
	trigger:
		if player has permission "cheat_admin":
			if arg 1 is not set:
				send "&b==============================================" 
				send "&a=                                             ="
				send "&b=============================================="
				send " "
				send "&c>> /cheat sprawdz <nick>"
				send "&c>> /cheat tempban <nick> <czas>"
				send "&c>> /cheat ban <nick> <powod>"
				send "&c>> /cheat ban lista"
				send "&c>> /cheat antyknock"
				send "&c>> /cheat przyznanie <nick>"
				send "&b=============================================="
		else:
			send "&cNie możesz użyć tej komendy"
command /cheaty ban [<offlineplayer=%player%>] [<text>]:
	permission: cheat_admin
	permission message: &cNie możesz użyć tej komendy
	trigger:
		argument-offlineplayer is set:
			set {ban.%arg 1%} to true
			broadcast "&7| &aBAN &7|  &cGracz %arg 1% zostal zbanowany z powodu &7( &9%arg 2% &7)."
			wait 1 tick
			kick argument-offlineplayer due to "&cZostales zbanowany z powodu &7( &9%arg 2% &7)."
			add argument-offlineplayer to {ban::lista::*}
			add 1 to {ban::lista1::*}
		else:
			send "&cPoprawne uzycie /ban [gracz] [powod]"
                        

on quit:
	if {cheat.%player%} is true:
		clear the player's inventory
		set {cheat.%player%} to false
		kill player
		broadcast "&cGracz &6[%player%] &cWylogowal sie podczas sprawdzania!"
		stop

+ Nie mogą być takie same komendy albo dajesz w argumentach jedną komende albo inne komendy

 

Edytowane przez Ewald
Odnośnik do komentarza
https://skript.pl/temat/20834-problem-skrypt-na-sprawdzanie/#findComment-141569
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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