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

[Problem] Skrypt na Gildie brak Tagu na Chacie


Rekomendowane odpowiedzi

Opublikowano

Witam kieruję się z prośbą o pomoc ze skryptem.

Chciałbym żeby gracz który utworzył gildię miał [TAG] przy nicku na chacie.

bardzo był bym wdzięczny poniżej kod:

Skrypt autorstwa ekipy my-bukkit.pl

tag: &f[&3Gildie&f] #TAG pluginu
variables:
{gildia.%player%.status} = false
{gildia.%player%.smr} = 0
{gildia.%player%.zab} = 0

command /gildia [<text>] [<text>] [<text>]:
aliases: pomoc
trigger:
if argument 1 is not set:
message "-----&3Pomoc&f-----"
message "&6 /gildia zaloz&8 [Tag] [Nazwa] - Zakladamy gildie"#
message "&6 /gildia dolacz&8 [Tag] - Dolacza do gildii"#
message "&6 /gildia opusc&8 Gracz opuszcza gildie"#
message "&6 /gildia zapros&8 [Nick] - Zaprasza gracza do gildii"
message "&6 /gildia wyrzuc&8 [Nick] - Wyrzucasz gracza z gildii"
message "&6 /gildia gracz&8 [Nick] - Informacje o graczu"
message "&6 Tworcy -&8Ekipa my-bukkit.pl"
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 64 Diamong:
if {gildia.%player%.status} is false:
set {gildia.%player%.status} to true
set {gildia.%player%.tag} to argument 2
remove 64 Diamond 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, musisz posiadac potrzebne &6Materialy!"
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 "gracz":
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 " &3Gildia: &f-"
message " &6Zabojstwa: &8%{gildia.%player%.zab}% "
message " &6Smierci: &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} &7By zaprosic musisz byc liderem gildi!"
argument 1 is "wyrzuc":
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
stop
on damage:
if {gildia.%attacker%.tag} is {gildia.%victim%.tag}:
cancel event
message "{@tag} &7Nie mozesz bic &8%victim%" to attacker
on 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 true
on join:
if {gildia.%player%.lider} is true:
set {gildia.%{gildia.%player%.tag}%.lider} to player

Dziękuję.

Pomogłem Daj +Będę wdzięczny.

Opublikowano

on chat:

broadcast "&l&c%{tag.%player%}%"

 

Dodaj do variables: {tag.%player%} = 0 zmienne na tag gildii

Musisz sobie po dodawać tą zmienną np. jak ktoś dochodzi do gildii

|----Jedyny serwis z darmowymi skinami!----|


|------------Darmowe-Skiny.PL---------------|


|----Skiny i przedmioty do CS:GO, TF2----|


|------------------------------------------------|


|DOTA2, WarFrame i innych gier ze Steama!|


|--------------Start: NIEDŁUGO!!!--------------|

Opublikowano

Proszę o dodanie komendy /gildia usuń bo nie ma takiej komendy

Proszę

Pomogłem Daj +Będę wdzięczny.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...