vipBroadcast
Download the raw vipBroadcast.ser file
Uses: Broadcast · CustomCommand
Complete script
vipBroadcast.ser
# Disabled by default: remove # from the filename to enable this script.
!-- CustomCommand vipbroadcast
# available in the player console
-- availableFor player
# only players with VIP rank can use this command
-- neededRank vip
# VIP player must wait 2 minutes before sending next broadcast
-- cooldown 2m
# there must be 30 seconds between VIP broadcasts
-- globalCooldown 30s
# VIP can only send 2 broadcasts per round
-- maxUses 2
# there can be only 10 vip broadcasts per round in total
-- globalMaxUses 10
# the text to send
-- arguments message
# makes sure that @sender variable is available
-- requireSender
Broadcast @all 10s "<size=10><color=yellow>[VIP Broadcast by {@sender -> name}]</color></size><br>{$message}"
This file is compiled during the SER build and is safe to use as a current-syntax learning example.