Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Edycja skryptu, pomoc.


Rekomendowane odpowiedzi

Opublikowano

Siemka!
Mam taki skrypt ale chce żeby był troche inny
Chce żeby można było w nim powiększać teren (/f claim) tak jak w factions tylko tu (/gildia zajmi)
Chce żeby był tak jak w Factions power (/f power) tylko tu (/gildia moc) i żeby zwrastał co 10 min 1 moc,a dzięki tej mocy można zajmować tereny [w takim stylu jak w Factions]

I że za zabicie odejmuje ci 2 mocy

Daje like za pomoc

 

options:
    tag: &fTag #Tag pluginu
    
variables:
    {gildia.%player%.status} = false

command /stworz [<text>]:
    trigger:
        if argument 1 is not set:
            message "Wpisz nazwe gildi"
        if argument 1 is set:
            if {gildia.%argument 1%.nazwa} is not set:
                if player has 64 Diamond:
                    if {gildia.%player%.status} is false:
                        set {gildia.%player%.status} to true
                        set {gildia.%player%.nazwa} to argument 1
                        execute console command "pex user %name of player% add wordguard.*"
                        execute console command "pex user %name of player% add wordedit.*"
                        make player execute command "//pos1"
                        make player execute command "//pos2"
                        make player execute command "//expand 25 North"
                        make player execute command "//expand 25 East"
                        make player execute command "//expand 25 West"
                        make player execute command "//expand 25 South"
                        make player execute command "//expand vert"
                        make player execute command "/rg define %argument 1% %name of player%"
                        remove 64 Diamond from player
                        execute console command "pex user %name of player% remove wordguard.*"
                        execute console command "pex user %name of player% remove wordedit.*"
                        set {gildia.%argument 1%.nazwa} to argument 1
                        set {gildia.%argument 1%.lider} to player
                        broadcast "Gracz %name of player% stworzyl gildie o nazwie %argument 1%"
                    else:
                        message "{@tag} Jestes juz w gildii!"
                else:
                    message "{@tag} Aby utworzyc gildie potrzebujesz itemy!"
            else:
                message "{@tag} Istnieje juz gildia o nazwie %argument 1%"

command /opusc [<text>]:
    trigger:
        if {gildia.%player%.status} is true:
            set {gildia.%player%.status} to false
            delete {gildia.%player%.nazwa}
            message "Opusciles gildie"
            stop
        else:
            message "Nie jestes w zadnej gildii!"

command /zapros [<text>]:
    trigger:
        if {gildia.%{gildia.%player%.nazwa}%.lider} is player:
            if argument 1 is set:
                set {gildia.%argument 1%.zapro} to {gildia.%player%.nazwa}
                message "Zaprosiles gracza %argument 1%"
            else:
                message "Podaj nick gracza!"
        else:
            message "Aby zapraszac graczy musisz byc liderem gildi!"

command /wypros [<text>]:
    trigger:
        if {gildia.%{gildia.%player%.nazwa}%.lider} is player:
            if argument 1 is set:
                if {gildia.%argument 1%.nazwa} is {gildia.%player%.nazwa}:
                    set {gildia.%argument 1%.status} to false
                    delete {gildia.%argument 1%.nazwa}
                    message "Wyrzuciles gracza %argument 1% ze swojej gildii"
                    stop
                else:
                    message "Nie znaleziono gracza o nicku %argument 1%"
            else:
                message "Podaj nick gracza"
        else:
            message "Aby wyrzucac graczy musisz byc liderem gildi"

command /dolacz [<text>]:
    trigger:
        if argument 1 is set:
            if {gildia.%argument 1%.nazwa} is set:
                if {gildia.%player%.zapro} is argument 1:
                    if {gildia.%player%.status} is false:
                        set {gildia.%player%.status} to true
                        delete {gildia.%player%.zapro}
                        set {gildia.%player%.nazwa} to argument 1
                        message "Dolaczyles do gildi %{gildia.%argument 1%.nazwa}%"
                    else:
                        message "Jestes juz w gildii"
                else:
                    message "Ta gildia wcale Cie nie zaprosila"
            else:
                message "Nie znaleziono gildii o nazwie %argument 1%"
        else:
            message "Podaj nazwie gildii"

command /ginfo [<text>]:
    trigger:
        if argument 1 is not set:
            message "&3~~~~&a %player% &3~~~~"
            if {gildia.%player%.status} is true:
                message " &7Gildia: &f[&8%{gildia.%player%.nazwa}%&f]&b %{gildia.%{gildia.%player%.nazwa}%.nazwa}%"
            else:
                message " &7Gildia: &f-"
            message " &7Zabojstwa: &8%{gildia.%player%.zab}% "
            message " &7Smierci: &8%{gildia.%player%.smr}% "
        if argument 1 is set:
            if {gildia.%argument 1%.status} is true or false:
                message "&3~~~~&a %argument 1% &3~~~~"
                if {gildia.%argument 1%.status} is true:
                    message " &7Gildia: &f[&8%{gildia.%argument 1%.nazwa}%&f]&b %{gildia.%{gildia.%argument 1%.nazwa}%.nazwa}%"
                else:
                    message " &7Gildia: &f-"
                message " &7Zabojstwa: &8%{gildia.%argument 1%.zab}% "
                message " &7Smierci: &8%{gildia.%argument 1%.smr}%"
            else:
                message "{@tag} &7Nie znaleziono gracza o nicku &8%argument 1%"

command /usun [<text>]:
    trigger:
        if {gildia.%player%.status} is true:
            set {gildia.%player%.status} to false
            delete {gildia.%argument 1%.nazwa}
            message "Usunoles gildie"
            stop

on chat:
    if {gildia.%player%.status} is true:
        set message to "&7[&3%{gildia.%player%.nazwa}%&7] %player% %message%"
    if {gildia.%player%.status} is false:
        set message to "%player%: %message%"

on logout:
    if {gildia.%{gildia.%player%.tag}%.lider} is player:
        set {gildia.%player%.lider} to true

on join:
    if {gildia.%player%.lider} is true:
        set {gildia.%{gildia.%player%.nazwa}%.lider} to player

Opublikowano

Powiem ci to tak ten skrypt to GÓWNO ...

Radze ci używać factions lub UltimateClans .

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...