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] Potrzebuję pomocy przy skrypcie!


Rekomendowane odpowiedzi

Opublikowano

R

E

K

L

A

M

A

 

 

 

 

 

 

 

 

 

 

Witam mam taki skrypt na gildie, lecz autor nie dodał teleportacji do domu. Czy mógł by mi ktoś go uzupełnić? Jeszcze przy okazji jak by ktoś miał czas to prosił bym o dodanie regionu worldguard przy tworzeniu gildi.

skrypt:

options:    tag: &f[&3My-Bukkit.pl Plugins&f] #TAG pluginuvariables:    {gildia.%player%.status} = false    {gildia.%player%.smr} = 0    {gildia.%player%.zab} = 0	command /gildia [] [] []:    aliases: g    trigger:        if argument 1 is not set:            message "----- &3My-Bukkit.pl Plugins&f-----"            message "&8 /gildia &7 - Pomoc dot. pluginu"            message "&8 /gildia zaloz [Tag] [Nazwa]&7 - Zaklada gildie"#			            message "&8 /gildia dolacz [Tag]&7 - Dolacza do gildii"#			            message "&8 /gildia opusc&7 - Opuszcza gildie"#	            message "&8 /gildia zapros [Nick]&7 - Zaprasza gracza do gildii"            message "&8 /gildia wypros [Nick]&7 - Wyprasza gracza z gildii"            message "&8 /gildia info [Nick] &7 - Informacje o graczu"            message "&4 http://My-Bukkit.pl - Twoje Centrum bukkita!        argument 1 is "zaloz":            if argument 2 is set:                 if argument 3 is set:                    if {gildia.%argument 2%.tag} is not set:                        if {gildia.%argument 3%.nazwa} is not set:                            if player has 128 Feather:                                 if {gildia.%player%.status} is false:                                    set {gildia.%player%.status} to true                                    set {gildia.%player%.tag} to argument 2                                    remove 128 Feather from player                                    set {gildia.%argument 2%.tag} to argument 2                                    set {gildia.%argument 2%.nazwa} to argument 3                                    set {gildia.%argument 2%.dom} to location of player                                    set {gildia.%argument 2%.lider} to player                                    message "{@tag} &7Utworzyles gildie &8%argument 3% &7o tagu &8%argument 2%"                                else:                                    message "{@tag} &7Jestes juz w gildii!"                            else:                                message "{@tag} &7Aby utworzyc gildie, zdobadz potrzebne materialy!"                        else:                            message "{@tag} &7Istnieje juz gildia o nazwie &8%argument 3%"                    else:                        message "{@tag} &7Istnieje juz gildia o tagu &8%argument 2%"                else:                    message "{@tag} &7Uzycie: &8/gildia zaloz [Tag] [Nazwa]"            else:                message "{@tag} &7Uzycie: &8/gildia zaloz [Tag] [Nazwa]"        argument 1 is "dolacz":            if argument 2 is set:                if {gildia.%argument 2%.tag} is set:                    if {gildia.%player%.zapro} is argument 2:                        if {gildia.%player%.status} is false:                            set {gildia.%player%.status} to true                            delete {gildia.%player%.zapro}                            set {gildia.%player%.tag} to argument 2                            message "{@tag} &7Dolaczyles do gildii &8%{gildia.%argument 2%.nazwa}% &7o tagu &8%argument 2%"                        else:                            message "{@tag} &7Jestes juz w gildii!"                    else:                        message "{@tag} &7Ta gildia wcale Cie nie zaprosila!"                else:                    message "{@tag} &7Nie znaleziono gildii o tagu &8%argument 2%"            else:                message "{@tag} &7Podaj tag gildii!"        argument 1 is "opusc":            if {gildia.%player%.status} is true:                set {gildia.%player%.status} to false                delete {gildia.%player%.tag}                message "{@tag} &7Opusciles gildie"                stop            else:                message "{@tag} &7Nie jestes w zadnej gildii!"        argument 1 is "info":             if argument 2 is not set:                message "&3~~~~&a %player% &3~~~~"                if {gildia.%player%.status} is true:                    message " &7Gildia: &f[&8%{gildia.%player%.tag}%&f]&b %{gildia.%{gildia.%player%.tag}%.nazwa}%"                else:                    message " &7Gildia: &f-"                message " &7Zabojstwa: &8%{gildia.%player%.zab}% "                message " &7Smierci: &8%{gildia.%player%.smr}% "            if argument 2 is set:                if {gildia.%argument 2%.status} is true or false:                    message "&3~~~~&a %argument 2% &3~~~~"                    if {gildia.%argument 2%.status} is true:                        message " &7Gildia: &f[&8%{gildia.%argument 2%.tag}%&f]&b %{gildia.%{gildia.%argument 2%.tag}%.nazwa}%"                    else:                        message " &7Gildia: &f-"                    message " &7Zabojstwa: &8%{gildia.%argument 2%.zab}% "                    message " &7Smierci: &8%{gildia.%argument 2%.smr}%"                else:                    message "{@tag} &7Nie znaleziono gracza o nicku &8%argument 2%"        argument 1 is "zapros":            if {gildia.%{gildia.%player%.tag}%.lider} is player:                if argument 2 is set:                    set {gildia.%argument 2%.zapro} to {gildia.%player%.tag}                    message "{@tag} &7Zaprosiles gracza &8%argument 2%"                else:                    message "{@tag} &7Podaj nick gracza!"            else:                message "{@tag} &7Aby zapraszac graczy musisz byc liderem gildi!"        argument 1 is "wypros":            if {gildia.%{gildia.%player%.tag}%.lider} is player:                if argument 2 is set:                    if {gildia.%argument 2%.tag} is {gildia.%player%.tag}:                        set {gildia.%argument 2%.status} to false                        delete {gildia.%argument 2%.tag}                        message "{@tag} &7Wyrzuciles gracza &8%argument 2% &7ze swojej gildii!"                        stop                    else:                        message "{@tag} &7Nie znaleziono gracza o nicku &8%argument 2%"                else:                    message "{@tag} &7Podaj nick gracza!"            else:                message "{@tag} &7Aby zapraszac graczy musisz byc liderem gildi!"     				on damage:    if {tp.%victim%} is true:        set {tp.%victim%} to false         stopon damage:    if {gildia.%attacker%.tag} is {gildia.%victim%.tag}:        cancel event        message "{@tag} &7Nie mozesz bic &8%victim%" to attackeron death:    add 1 to {gildia.%attacker%.zab}    add 1 to {gildia.%player%.smr}on logout:    if {gildia.%{gildia.%player%.tag}%.lider} is player:        set {gildia.%player%.lider} to trueon join:    if {gildia.%player%.lider} is true:        set {gildia.%{gildia.%player%.tag}%.lider} to player 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...