Skocz do zawartości
  • 0

Perworldchat


Misio12320

Pytanie

Hej. Chciałbym zrobić taki 'PerWorldChat' w którym na danym świecie jest inny suffix chodzi mi o ranga nick: a na survival np <nick>: itd myślę że byłby przydatny config albo jakas komenda na zmianę prefixu na danym świecie... Oraz żeby na danym świecie ten suffix był default jedynie komendą można zmienić tylko na 1 gracza... 

Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/
Udostępnij na innych stronach

Rekomendowane odpowiedzi

  • 0

+ Jakby się dało wyłączyć to "Player Nick: text"... dopiero po edycji zmienia wszystko... kolorki po prefixie np &4Owner to po napisaniu tekstu też jest ten  A jak zrobić na np czysty nick? <nick>: text? Moze na pm wytłumaczyć hmm?

Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-206813
Udostępnij na innych stronach

  • 0

bump. potrafi ktoś zrobić taki chat, żeby Options: "[Group]<PlayerNick>: [Text]" można było ustawiać prefixy? np daną komendą /prefix GPlayerNickText np... @xAxee może Axe ponieważ wiesz o co chodzi z tym all...

Edytowane przez Misio12320
Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209410
Udostępnij na innych stronach

  • 0

Teraz chodzi mi o ten ostatni kom... ten sprzed 1h... tak jak w tym kodzie.. 

 coś takiego, ale żebym sobie wybrał np /prefix format: no to wiec format jest {prefix} {player} {message} {world} xd a chcialbym dodac takich więcej i np /prefix group: to {PlayersGroup} {player}*:* {message} wraz z dwukropkiem itd... by tak "zamieniało..." 😜 i /prefix format Player na danego gracza... albo /prefix FormatT: {World} : {Player}<npNiiic>: {Playersgroup}... a i kolorki to już bym sobie sam dodał w options...

Edytowane przez Misio12320
Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209417
Udostępnij na innych stronach

  • 0
command /setpre [<player>] [<text>] [<text>]:
    trigger:
        if arg 3 is set:
            set {player::%arg 2%::%arg q%} to arg 3
            send "&cUstawiono!"
        else:
            send "&7/setpre <player> <world> <prefix>"

 

Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209422
Udostępnij na innych stronach

  • 0
Reloading PerWorldChat.sk...
[10:26:06 WARN]: the name of the player is already a text, so you should not put it in one (e.g. the name of the player instead of "%the name of the player%") (PerWorldChat.sk, line 12: replace all "{PLAYER}" with "%name of player%" in {_m}')
[10:26:06 WARN]: the chat message is already a text, so you should not put it in one (e.g. the chat message instead of "%the chat message%") (PerWorldChat.sk, line 13: replace all "{MESSAGE}" with "%message%" in {_m}')
[10:26:06 WARN]: coloured the 3rd argument is already a text, so you should not put it in one (e.g. coloured the 3rd argument instead of "%coloured the 3rd argument%") (PerWorldChat.sk, line 23: set {player::%arg 4%::%arg 1%} to "%colored arg 3%"')
[10:26:06 ERROR]: Can't understand this expression: arg q (PerWorldChat.sk, line 35: set {player::%arg 2%::%arg q%} to arg 3')
[10:26:06 INFO]: [Skript] Encountered 1 error while reloading PerWorldChat.sk! tamten kod @xAxee ... No gdyby się dało ustawić prefixy poprzez "OPTIONS:" / world oraz suffixy kolorki itd...
Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209429
Udostępnij na innych stronach

  • 0
Godzinę temu, Misio12320 napisał:
Reloading PerWorldChat.sk...
[10:26:06 WARN]: the name of the player is already a text, so you should not put it in one (e.g. the name of the player instead of "%the name of the player%") (PerWorldChat.sk, line 12: replace all "{PLAYER}" with "%name of player%" in {_m}')
[10:26:06 WARN]: the chat message is already a text, so you should not put it in one (e.g. the chat message instead of "%the chat message%") (PerWorldChat.sk, line 13: replace all "{MESSAGE}" with "%message%" in {_m}')
[10:26:06 WARN]: coloured the 3rd argument is already a text, so you should not put it in one (e.g. coloured the 3rd argument instead of "%coloured the 3rd argument%") (PerWorldChat.sk, line 23: set {player::%arg 4%::%arg 1%} to "%colored arg 3%"')
[10:26:06 ERROR]: Can't understand this expression: arg q (PerWorldChat.sk, line 35: set {player::%arg 2%::%arg q%} to arg 3')
[10:26:06 INFO]: [Skript] Encountered 1 error while reloading PerWorldChat.sk! tamten kod @xAxee ... No gdyby się dało ustawić prefixy poprzez "OPTIONS:" / world oraz suffixy kolorki itd...

Ale ze options na range / kazdego vzy co xd

Na koncu jrst arg q zamien na arg 1

Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209433
Udostępnij na innych stronach

  • 0

Axe... Na gracza.. Option1: Format1: %PlayerGroup%"Nick": Text/ test                     Format2: <Player>: test i żeby był inny kolor po ' : ' jako tekst... Format3 >Player<&4: &5Text np... itd itd zeby options to byl config do komendy /prefix Format1 Nick world oraz reset /prefix reset nick world by był czysty taki jak gra chce tzn essentials... własnie tak jak w tym Twoim kodzie Xaxe, że można dodać format2 itd, ale nie ma player group i replace all playergroup to 

Edytowane przez Misio12320
Odnośnik do komentarza
https://skript.pl/temat/31811-perworldchat/#findComment-209435
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ę...