Broadcast Command v1
2019/11/03 16:02:25 UTC-08:00
Click here to view this paste as a raw text file | Or download the script
### Broadcast Command
# Updated by Mwthorn (Discord: Mwthorn#2843) (Mail: email@example.com)
# 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")
# - Place the script in your script folder.
# - Restart server or reload scripts
# - Done! Now you can use /bc (text)
description: Broadcast something
usage: /broadcast <<>text<>>
permission message: Sorry, <player.name>, you don't have the permission '<permission>'!
- if <context.args.size> == 0:
- narrate "<&b>/bc (text)"
- announce "<context.args.get.to[<context.args.size>].space_separated.parse_color>"