• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Kamino_Ramos

Member
Feb 1, 2017
18
1
3
30
vk.com
I want to create my own clan system, and everything seems pretty clear but one thing, clan tags in chat.

Idea is, similar to SimpleClans, leader of clan can choose clan tag, maximum of 3 symbols (color codes not in count), and this tag will be displayed near nickname of clam members, and if there is no clan, nothing is displayed.

Is there way to make this using skript? For example, I use herochat, can I put something like $clantag$ in format, so it will be replaced with tag or nothing (if no clan)? Is it possible, in general, to replace anything in chat format with needed value? Or do I have to write custom chatmanager skript too?
 
Maybe that's will work, but this plugin needs hook in to skript!
The best way how to solve this is make chat skript by your self.
 
Maybe that's will work, but this plugin needs hook in to skript!
The best way how to solve this is make chat skript by your self.
Jip and then you can just write:
code_language.skript:
On chat:
    Cancel event
    If {clantag.%player%} is set:
        Broadcast "[%{clantag.%player%}%] %player%: %message%"
    Else:
        Broadcast "%player%: %message%"
 
Status
Not open for further replies.