View difference between Paste ID: 0H5T3nMv and e891mhhv
SHOW: | | - or go back to the newest paste.
1
command /timer <integer>:
2
    trigger:
3
        set {_countdown} to arg 1
4
        wait 1 tick
5
        broadcast "%{_countdown}%"
6
        loop arg 1 times:
7
            remove 1 from {_countdown}
8
            wait 1 second
9
            {_countdown} is less than {_10}:
10-
                broadcast "0%{_countdown}%"
10+
                broadcast "&f&lSTART!!!!!"
11
            else:
12-
                broadcast "&f&lSTART!!!"
12+
                broadcast "%{_countdown}%"