Jump to content

Broadcast [ SKRIPT ]


AHelpingCandy

Recommended Posts

Had a bit of free time ://

#---------------------------------------#

options: 

# Name of your server. (This is the header) **CHANGE THIS**
    ServerName: &a&lWarfare&f&lMC &a&lAnnouncement

# Color of the text (Color Code Only)
    Color: &f

# Color of lines (Color Code Only)
    Lines: &e

# Permission message
    PermMSG: &cNo Permission
    
# No argument message
    PermMSG: &cUsage: &f/broadcast (message)


#------------------------------------------------------------------------------------------------------------#

command /broadcast [<text>]:
    permission: broadcast.use
    permission message: {@PermMSG}
    trigger:
        if arg 1 is set:
            broadcast " &8▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"
            broadcast ""
            broadcast "                    {@ServerName}"
            broadcast "  {@Color}%argument%"
            broadcast "&e"
            broadcast ""
            broadcast " &8▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"
        if arg 1 is not set:
            message "&c&l<!> &cUsage: &f/bc <msg>"
            
command /bc [<text>]:
    permission: broadcast.use
    permission message: {@PermMSG}
    trigger:
        if arg 1 is set:
            broadcast " &8▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"
            broadcast ""
            broadcast "                    {@ServerName}"
            broadcast "  {@Color}%argument%"
            broadcast "&e"
            broadcast ""
            broadcast " &8▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"
        if arg 1 is not set:
            message "&c&l<!> &cUsage: &f/bc <msg>"


#------------------------------------------------------------------------------------------------------------#
 

  • Thanks 3
image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to comment
Share on other sites

Why don't you just use command aliases instead of making 2 commands. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Eh, Idk really know why, I was just bored and wanted to spend my time more..

 

image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...