Force Chat

  • 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 community!

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

hello guys? who knows how to make a skript that can force all player to chat or say something?
Sth like this maybe ^^?
code_language.skript:
command /forcechat:
    trigger:
        loop all players:
            add loop-player to {chatforce::*}
            loop {chatforce::*}:
                broadcast "%loop-value% &6Hello"
                wait 1 second
 
This?
code_language.skript:
command /forcechat <text>:
    permission: forcechat
    trigger:
        loop all players:
            set {_f} to chat format
            replace every "[player]" in {_f} with "%loop-player%"
            replace every "[message]" in {_f} with arg-1
            broadcast {_f}