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] Czat Gildii


Rekomendowane odpowiedzi

Opublikowano

Witam. Mam oto taki skrypt na gildie pvp:

 

 

 

options:

tag: &2[&aGildie&2] #TAG pluginu

variables:

{gildia.%player%.status} = false

{gildia.%player%.smr} = 0

{gildia.%player%.zab} = 0

 

command /gildia [<text>] [<text>] [<text>]:

aliases: g

trigger:

if argument 1 is not set:

message "&3-----&6Gildie&3-----"

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"

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 32 diamond:

if {gildia.%player%.status} is false:

set {gildia.%player%.status} to true

set {gildia.%player%.tag} to argument 2

remove 32 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, 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

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

 

 

 

I szukam osoby która doda mi czat od ultimate clans do tego skryptu. tutaj jest fragment uc.:

 

 

# -- Clans Chat -- #

command /@ <text>:

trigger:

set {ultimateclans.%name of player%.member} to true

set {ultimateclans.%name of player%.clan.name} to {ultimateclans.%name of player%.owner.clanname}

wait 1 tick

if {ultimateclans.%name of player%.member} is true:

loop {ultimateclans.%{ultimateclans.%name of player%.clan.name}%.members::*}:

if loop-value is online:

send "%{_prefix}% %{style}%%name of player%&7: %arg 1%" to loop-value

set {ultimateclans.%name of player%.member} to false

clear {ultimateclans.%name of player%.clan.name}

stop

else:

send "&cNikt nie jest online!"

set {ultimateclans.%name of player%.member} to false

clear {ultimateclans.%name of player%.clan.name}

stop

stop

stop

if {ultimateclans.%name of player%.member} is true:

loop {ultimateclans.%{ultimateclans.%name of player%.clan.name}%.members::*}:

if loop-value is online:

send "%{_prefix}% %{style}%%name of player%&7: %arg 1%" to loop-value

stop

else:

send "&cNikt nie jest online!"

stop

else:

send "&cMusisz byc w gildii, aby uzywac tego czatu!!"

stop

# -- End of Clans Chat -- #

 

 

Ciężko jest żyć lekko..

Opublikowano

Danelow, z tego co mi wiadomo to skript jest dzikoysk'a który nie zezwolił na modyfikowanie jego skryptu.

Jest to tzw łamanie praw autorskich.

Możesz do niego napisać o zgodę, ewentualnie o modyfikację skryptu na Twoje potrzeby.

2 sprawa o ile się nie mylę to opcja ta jest w wersji premium.

Piszę strony HTML, uczę się PHP i pisania pluginów do bukkita.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...