Skocz do zawartości
  • 0

Może mi ktoś napisać skrypt?


Pytanie

Może mi ktoś napisać skrypt który, skraca komendę /plot

/plot auto - /p auto

/plot claim - /p claim 

/plot home - /p h

/plot add - /p add

/plot remove - /p remove

/plot deny <gracz> - /p deny

/plot undeny <gracz> - /p undeny <gracz>

/plot dispose - /p dispose

/plot clear - /p clear

Odnośnik do komentarza
https://skript.pl/temat/39860-mo%C5%BCe-mi-kto%C5%9B-napisa%C4%87-skrypt/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 godzinę temu, Orangvle napisał:

Może mi ktoś napisać skrypt który, skraca komendę /plot

/plot auto - /p auto

/plot claim - /p claim 

/plot home - /p h

/plot add - /p add

/plot remove - /p remove

/plot deny <gracz> - /p deny

/plot undeny <gracz> - /p undeny <gracz>

/plot dispose - /p dispose

/plot clear - /p clear

Więc tak.. Jak są jakieś błędy w konsoli to napisz mi je tu, jak są błędy w skrypcie (np. piszesz deny i daje ci undeny itp.) to też pisz a poprawie :)





 

command /p [<text>] [<text>]:
    trigger:
        if arg-1 is not "auto" or "claim" or "h" or "add" or "remove" or "deny" or "undeny" or "dispose" or "clear":
            make player execute command "plot help"
    
    
    
        if arg-1 is "auto":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p auto" to player
        if arg-1 is "auto":
            if arg-2 is not set:
                make player execute command "plot auto"
            
            
            
            
            
            
        if arg-1 is "claim":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p claim" to player
        if arg-1 is "claim":
            if arg-2 is not set:
                make player execute command "plot claim"
                
                
                


        if arg-1 is "h":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p h" to player
        if arg-1 is "h":
            if arg-2 is not set:
                make player execute command "plot home"
                
                
                
                
                
        if arg-1 is "add":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p add" to player
        if arg-1 is "add":
            if arg-2 is not set:
                make player execute command "plot add"
                
                
                
        
        if arg-1 is "remove":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p remove" to player
        if arg-1 is "remove":
            if arg-2 is not set:
                make player execute command "plot remove"
                
                
                
        if arg-1 is "deny":
            if arg-2 is not set:
                send "&4>> &cPoprawne uzycie /p deny <gracz>" to player
        if arg-1 is "deny":
            if arg-2 is set:
                make player execute command "plot deny %arg-2%"
                
                
        if arg-1 is "undeny":
            if arg-2 is not set:
                send "&4>> &cPoprawne uzycie /p undeny <gracz>" to player
        if arg-1 is "undeny":
            if arg-2 is set:
                make player execute command "plot undeny %arg-2%"    


        if arg-1 is "dispose":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p dispose" to player
        if arg-1 is "dispose":
            if arg-2 is not set:
                make player execute command "plot dispose"


        if arg-1 is "clear":
            if arg-2 is set:
                send "&4>> &cPoprawne uzycie /p clear" to player
        if arg-1 is "clear":
            if arg-2 is not set:
                make player execute command "plot clear"
                stop

 

Edytowane przez xAxee
xAxee

Wstawiam w code

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/39860-mo%C5%BCe-mi-kto%C5%9B-napisa%C4%87-skrypt/#findComment-249617
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ę...