~ mcmonkey's simpler pastebin ~ Inspired by
click to use the normal pastebin instead
Note: Paste must be at least three lines long
Edit of P#59571 - Broadcast Command v1
### Broadcast Command # Updated by Mwthorn (Discord: Mwthorn#2843) (Mail: firstname.lastname@example.org) # Ask for help at any time on the Official Denizen Script Discord: https://discord.gg/Q6pZGSR # Allows a user to broadcast a message to everyone. This is mainly just an example on how to make a command with Denizen. # It has the following commands included: # /bc (text) - Send a message to everyone (requires the permission "broadcast.use") ## Instructions: # - Place the script in your script folder. # - Restart server or reload scripts # - Done! Now you can use /bc (text) Broadcast_Command: type: command name: broadcast description: Broadcast something usage: /broadcast <<>text<>> debug: false aliases: - bc permission: broadcast.use permission message: Sorry, <player.name>, you don't have the permission '<permission>'! script: - if <context.args.size> == 0: - narrate "<&b>/bc (text)" - stop - announce "<context.args.get.to[<context.args.size>].space_separated.parse_color>"