Solved Custom Announcement

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

Jake0125

Member
Mar 19, 2019
4
0
1
24
Category: Custom Announcement

Suggested name: I don't care

Spigot/Skript Version: 2.2-dev36

What I want:
A command to announce something to everyone in the server customly. This is what I used, yet I'm new to skript and this didn't work (ofc).
command /announce <text>:
permission: announce.sk
description: announces
trigger:
message "/tellraw @a ["",{"text":"[","color":"dark_red"},{"text":"WizardRPG","color":"red"},{"text":"] ","color":"dark_red"},{"text":"%arguement%","color":"gold"}]"


Ideas for commands: /announce <TEXT>

Ideas for permissions: announce.sk

When I'd like it by: As fast as possible
 
Can't you just use
Code:
command /announce <text>:
    permission: announce.sk
    description: announces
    trigger:
        broadcast "&4[&cWizardRPG&4] &6%arg-1%"