Skocz do zawartości
  • 0

Poprawa skryptu na anty-afk


Pytanie

command /antyafk [<player>]:
    permission: antyafk.adm
    permission command: &cNie masz uprawnien!
        trigger:      
            open chest with 1 rows named "&cAnty-&2AFK" to player        
            wait 2 tick 
            format slot 1 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 2 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 3 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 4 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 5 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 6 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 7 of player with 1 of 35:5 "&a&lNie kopie na afk!" to close then run "send &aNie kopiesz na afku! Milej gry!" to arg 1
            format slot 8 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
        if arg 1 right click on 35:14 named "&a&lNie kopie na afk!":
            send "&e%arg 1% &czaznaczyl, ze nie kopie na afk!"

 

Skrypt nie dziala, pomoze ktos? :< Potrzebuje pilnie

Edytowane przez LjayPL789
bludis

Wstawiam w code.

Notatka dodana przez bludis

Odnośnik do komentarza
https://skript.pl/temat/29271-poprawa-skryptu-na-anty-afk/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /antyafk [<player>]:
    permission: antyafk.adm
    permission command: &cNie masz uprawnien!
        trigger:      
            open chest with 1 rows named "&cAnty-&2AFK" to player        
            wait 2 tick 
            format slot 1 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 2 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 3 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 4 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 5 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 6 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
            format slot 7 of player with 1 of 35:5 "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
            format slot 8 of player with 1 of 35:14 "&4Kopie na afk!" to close then run "etempban %player% &4Kopanie na afku."
			
                  
command /sendkopanie [<player>]:
	trigger:
  		if arg 1 is set:
  			send "&aNie kopiesz na AFK! Zyczymy milej gry!"
  			send "&a%player% nie kopie na AFK - przeszedl weryfikacje!" to all ops
  			stop

Proszę.

Odnośnik do komentarza
https://skript.pl/temat/29271-poprawa-skryptu-na-anty-afk/#findComment-192941
Udostępnij na innych stronach

  • 0
on inventory close:
    if inventory name of current inventory of player is "&cAnty-&2AFK":
        cancel event

Pisałem na telefonie, więc mogą być błędy.

Odnośnik do komentarza
https://skript.pl/temat/29271-poprawa-skryptu-na-anty-afk/#findComment-193023
Udostępnij na innych stronach

  • 0

@LjayPL789

 

command /antyafk [<player>]:
    permission: antyafk.adm
    permission command: &cNie masz uprawnien!
    trigger:      
        open chest with 1 rows named "&cAnty-&2AFK" to arg 1       
        wait 2 tick 
        format slot 0 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 1 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 2 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 3 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 4 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 5 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 6 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 7 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"
        format slot 8 of arg 1 with 1 of 35:5 named "&a&lNie kopie na afk!" to close then run "sendkopanie %player%"

command /sendkopanie [<text>]:
    trigger:
        broadcast "&e%arg 1% &7Otrzymal weryfikacje &2Anty-AFK &7od admina i przeszedl ja z &aPowodzeniem!"
        stop

 

A wiesz czm to nie dziala? Jest jakis problem z sendkopanie

Edytowane przez LjayPL789
bludis

Wstawiam w code.

Notatka dodana przez bludis

Odnośnik do komentarza
https://skript.pl/temat/29271-poprawa-skryptu-na-anty-afk/#findComment-193124
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ę...