View difference between Paste ID: e891mhhv and ZVqmx1tn
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}%"
11
            else:
12-
                broadcast "%{_countdown}%"
12+
                broadcast "&f&lSTART!!!"