Skocz do zawartości
  • 0

Skrypt na Czat Gildii


EXINEX

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
 

options:    chat-format-inguild: &6{TAG} &f{NAME}: {MESSAGE}    chat-format-normal: &f{NAME}: {MESSAGE}    chat-format-myguld: &a{TAG} &f{NAME}: {MESSAGE}    chat-format-allys: &2[Ally] &6{TAG} &f{NAME}: {MESSAGE}    chat-format-enemys: &c[Enemy] &6{TAG} &f{NAME}: {MESSAGE}on chat:    if (%player%::inGuild} is set:	    cancel event	    loop all players:	        if {%loop-player%::guildName} is {%player%::guildName}:			    set {_chat} to {@chat-format-myguild}			    replace "{TAG}" with "%player%::guildTag}%" in {_chat}			    replace "{NAME}" with "%player's name%" in {_chat}			    replace "{MESSAGE}" with "%message%" in {_chat}			    send {_chat} to loop-player			    stop		    if {%player%::Guild::Allys::*} contain {%loop-player%::guildName}:			    set {_chat} to {@chat-format-allys}			    replace "{TAG}" with "%player%::guildTag}%" in {_chat}			    replace "{NAME}" with "%player's name%" in {_chat}			    replace "{MESSAGE}" with "%message%" in {_chat}			    send {_chat} to loop-player			    stop		    if {%player%::Guild::Enemys::*} contain {%loop-player%::guildName}:			    set {_chat} to {@chat-format-enemys}			    replace "{TAG}" with "%player%::guildTag}%" in {_chat}			    replace "{NAME}" with "%player's name%" in {_chat}			    replace "{MESSAGE}" with "%message%" in {_chat}			    send {_chat} to loop-player			    stop		    if {%loop-player%::guildName} isn't {%player%::guildName}:			    if {%player%::Guild::Allys::*} doesn't contain {%loop-player%::guildName}:				    if {%player%::Guild::Enemys::*} doesn't contain {%loop-player%::guildName}:					    set {_chat} to {@chat-format-inguild}			            replace "{TAG}" with "%player%::guildTag}%" in {_chat}			            replace "{NAME}" with "%player's name%" in {_chat}			            replace "{MESSAGE}" with "%message%" in {_chat}			            send {_chat} to loop-player					    stop    if (%player%::inGuild} isn't set:	    set {_chat} to {@chat-format-normal}	    replace "{NAME}" with "%player's name%" in {_chat}	    replace "{MESSAGE}" with "%message%" in {_chat}	    send {_chat} to loop-player	    stop

 

Nie wiem czy działa, pisane na czysto, musisz pozmieniać swoje zmienne, masz sporo przy edycji tego kodu.

Odnośnik do komentarza
https://skript.pl/temat/8030-skrypt-na-czat-gildii/#findComment-63352
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ę...