Forum
Scripts
Countdown
Countdown
3 replies
1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("second","whatever")
function whatever()
times = times - 1
if times > 0 then
msg("Time left : "..times)
elseif times == 0 then
msg("Nemesis chosen")
end
end
addkook("startround","reset")
function reset()
times = 10 -- change to you countdown max no.
end
Sorry if any error and no tabbing i posted from phone.
not tested. edited 1×, last 09.01.15 03:21:57 pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
times = 10
addhook("second","whatever")
function whatever()
	if times and times > 0 then
		times = times - 1
	elseif times == 0 then
		msg("Countdown ended. Yey ~@C")
		times = nil
	end
end
addkook("startround","reset")
function reset()
	times = 10
end
Check the 1st post.
1

Countdown
Offline