Skocz do zawartości

Dołącz do społecznoś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] ze skryptem

Rekomendowane odpowiedzi

Opublikowano

Witam, Mam mała prosbe co do skryptu. Jak to zrobic? . Aktualnie na czacie mam tak; [Nazwa Klanu] Nick >> Wiadomość. Mam w permisions zrobione rangi itp. Chciałbym tak: [NazwaKlanu][Ranga] Nick >> Wiadomość. Jak to zrobic? Tutaj daje config

 

- Jak zrobić aby gracz który ma gildie i gracz bez gildii mieli taki sam kolor nicku? (Biały)

- Jak zrobić aby vip miał kolor zielony nicku a svip zółty?

 

# -- Chat Manager -- #
on chat:
    if {ultimateclans.chatmanager} is true:
        if player's world is "{@world}":
            # '
            if {ultimateclans.chatmanager.rank} is "rank":
                if {ultimateclans.%name of player%.member} is true:
                    send "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %display name of player% &6>> &3%message%" to all players
                    cancel event
                    stop
                if {ultimateclans.%name of player%.owner} is true:
                    send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %display name of player% &6>> &3%message%" to all players
                    cancel event
                    stop
                else:
                    send "%display name of player% &6>> &3%message%" to all players
                    cancel event
                    stop
            else if {ultimateclans.chatmanager.rank} is "msg":
                if {ultimateclans.%name of player%.member} is true:
                    set message to "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %colored player's suffix% &6>> &3%message%"
                    stop
                else if {ultimateclans.%name of player%.owner} is true:
                    set message to "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %colored player's suffix% &6>> &3%message%"
                    stop
                else:
                    stop
            else:
                if {ultimateclans.%name of player%.member} is true:
                    send "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] &f%player% &6>> &3%message%" to all players
                    cancel event
                    stop
                if {ultimateclans.%name of player%.owner} is true:
                    send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] &f%player% &6>> &3%message%" to all players
                    cancel event
                    stop
                else:
                    send "%display name of player% &6>> &3%message%" to all players
                    cancel event
                    stop

 

Edytowane przez MineGuild

Opublikowano
  • Autor


# -- Chat Manager -- #

on chat:

if {ultimateclans.chatmanager} is true:

if player's world is "{@world}":

# '

if {ultimateclans.chatmanager.rank} is "rank":

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

send "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %display name of player% &6>> &3%message%" to all players

cancel event

stop

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

send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %display name of player% &6>> &3%message%" to all players

cancel event

stop

else:

send "%display name of player% &6>> &3%message%" to all players

cancel event

stop

else if {ultimateclans.chatmanager.rank} is "msg":

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

set message to "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] %colored player's suffix% &6>> &3%message%"

stop

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

set message to "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %colored player's suffix% &6>> &3%message%"

stop

else:

stop

else:

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

send "&7[&a%{ultimateclans.%name of player%.clan.tag}%&7] &f%player% &6>> &3%message%" to all players

cancel event

stop

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

send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] &f%player% &6>> &3%message%" to all players

cancel event

stop

else:

send "%display name of player% &6>> &3%message%" to all players

cancel event

stop

Opublikowano

 

send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&7] %display name of player% &6>> &3%message%" to all players

 

 

Aby zmienić na kolor biały nick graczowi to będzie tak

 

 

send "&7[&a%{ultimateclans.%name of player%.owner.tag}%&f] %display name of player% &6>> &3%message%" to all players

avatar_14518339374nlip.jpg


 


 


,,Vape is good, vape is my life"

Opublikowano
  • Autor

Okej. A jak zrobic aby vip mial zielony a svip zolty kolor? i na tabie by mi tez zalezalo na tych kolorkach.



W sumie to nie wazne. To sobie witemshopie ustawie. Dzieki za pomoc.

Zarchiwizowany

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

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.