14 Mar 13, 02:19AM
(This post was last modified: 14 Mar 13, 04:14AM by BarricadeX75.)
(14 Mar 13, 02:03AM)PhaNtom Wrote:(14 Mar 13, 12:44AM)BarricadeX75 Wrote: [cubescript]
//By BarricadeX75/Frenzy, with help from Bukz :D
fcchrono = 0
startedcounting = 0
alias fccincrement [if (= 0 $stplp) [+= fcchrono 1; sleep 100 [fccincrement]]]
add2conloop [
if (= 5 $gamemode) [
if_conline_has "2you have the enemy flag" [
stplp = 0
if (= 0 $startedcounting) [fccincrement]
sleep 20 [startedcounting = 1]
echo "3Chrono started!"
]
if_conline_has "2you scored" [
fctime = (divf $fcchrono 10)
echo (concatword "7Time taken to score:3 " $fctime " 7seconds")
sleep 20 [fcchrono = 0; startedcounting = 0; stplp = 1]
]
if_conline_has "2you dropped the flag" [
echo "3You failed at scoring"
fcchrono = 0
startedcounting = 0
stplp = 1
]
if_conline_has "2you lost the flag" [
echo "3You failed at scoring"
fcchrono = 0
startedcounting = 0
stplp = 1
]
]
]
[/cubescript]
This script will display the amount of time it took you to score each time you score a flag in CTF. (It starts counting as soon as you pick up the enemy flag)
Note that the chronometer will reset if you die or drop the flag by yourself.
This script requires tools.cfg :P
We can't see that binary character ;)
Try copy/pasting this script somewhere else and it'll be here ;)
EDIT: but anyway, I'm updating it using those tags right now :P