safeStart
Download the raw safeStart.ser file
Uses: AmountOf · Broadcast · Print · SetRoundLock · RoundStarted · OnEvent
Complete script
safeStart.ser
# Disabled by default: remove # from the filename to enable this script.
# utility script to automatically enable round lock
!-- OnEvent RoundStarted
if {AmountOf @all} isnt 1
stop
end
Print "SER enabled round lock!"
Broadcast @all 10s "<color=green>SER enabled round lock!"
SetRoundLock true
This file is compiled during the SER build and is safe to use as a current-syntax learning example.