1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon legendchat

Discussion in 'Addon Suggestions' started by zGhol, Mar 10, 2017.

Tags:
  1. zGhol

    zGhol Member

    Joined:
    Mar 9, 2017
    Messages:
    2
    Likes Received:
    0
    I was wondering if I have some addon for the skript that would have how to create a tag in the example legendchat:

    "Potato" to "&c [Potato]"

    would be like this:

    {potato}
    I would go out there in chat

    &C [Potato]
     
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    TuSKe has LegendChat support, you should ask to @Tuke_Nuke
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    how to use ?
    Can you pass me the event?
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    @zGhol I didn't add it to documentation since this plugin isn't too much used here, it's more in our country.


    Code (Skript):
    1. #Called when a player say something.
    2. [on] l[egend]c[hat] chat
    3.  
    4. #Returns:
    5. - player : The player who send the message:
    6. - l[egend]c[hat] channel : The channel that the player send the message. Returns %channel%.
    7. - l[egend]c[hat] message : The message. Can be cleared and setted to %string%. Returns %string%.
    8.  
    9. #Called when a player send a tell.
    10. [on] l[egend]c[hat] tell
    11.  
    12. #Returns:
    13. - sender : Who send the message. (player/console)
    14. - receiver : Who will receive the message. (player/console)
    15. - tell message : The message. Can be cleared and setted to %string%. Returns %string%.
    Code (Skript):
    1. #Returns if a player is muted.
    2. %player% is muted
    3. %player% is(n't| not) muted
    4.  
    5. #Returns if a player has permission to see/say in channel.
    6. %player% can (see|say in) [channel] %channel%
    7. %player% can't (see|say in) [channel] %channel%
    Code (Skript):
    1. #Make a player send tell to another player.
    2. [make] %player% [send] tell %string% to %player%
    3.  
    4. #Mute a player for a minutes or forever (or until server restart).
    5. mute %player% [for %integer% minute[s]]
    6.  
    7. #Unmute the player.
    8. unmute %player%
    9.  
    10. #Make player say something in a channel.
    11. make %player% say %string% in [channel] %channel%
    Code (Skript):
    1. #Returns the remaining time of mute of player if he's muted. Returns %integer%.
    2. mute (left|remaining) time of %player%
    3. %player%'[s] mute (left|remaining) time
    4.  
    5. #Returns the default channel of player in Legendchat. Can be set to %channel%. Returns %channel%.
    6. default channel of %player%
    7. %player%'[s] default channel
    8.  
    9. #Returns the spy state of player (true or false). Can be set to %boolean%. Returns %boolean%.
    10. spy state of %player%
    11. %player%'[s] spy state
    12.  
    13. #Returns the hide state of player (true or false). Can be se to %boolean%. Returns %boolean%.
    14. hide state of %player%
    15. %player%'[s] hide state
    16.  
    17. #Returns a custom chat tag of player. You have to add a tag at LegendChat's chat formati
    18. #in your config file to see it in the chat. You can set and clear/delete it. Returns %string%.
    19. [chat] tag %string% of %player%
    20. %player%'[s] [chat] tag %string%
    21.  
    22. #Returns all custom tags from player. It will return something like "Mytag" not like "[MyTag]"
    23. [chat] tags of %player%
    24. %player%'[s] [chat] tags
    Code (Skript):
    1. #The channels that was created in config of plugin. Values: global, local...
    2. - channel

    About the tags, it is possible with:
    Code (Skript):
    1. [chat] tag %string% of %player
    2. %player%'[s] [chat] tag %string%
    3.  
    4. [chat] tags of %player%
    5. %player%'[s] [chat] tags

    The first one you can get or set a tag, the second one you get all tags that was setted with first expression.
    Examples:
    Code (Skript):
    1. on first join:
    2.     set tag "group" of player to "&4[&cNewbie&8]"
    3.     loop tags of player:
    4.         send "%loop-value% - %tag loop-value of player%" #It will send "group - &4[&cNewbie&8]", as it is the only tag setted so far.
    5.  
    6.     clear tags of player #It will remove all custom tags setted so far.
    7.     clear tag "group" of player #Or you can remove a specific one
    8.  
    If you need something else with that, feel free to tag or pm me (pm me it's better since both of us speak same language).

     

Share This Page

Loading...