26 Feb 11, 04:59PM
When I run it, the ac engine gets stuck at the while loop. What other ways are there to make a timer?
[SELECT ALL] Code:
//gema script by sblargish
gemascore = 0
gemascored = 0
add2conloop [if_conline_has "you scored" [gemascored = 1]]
alias gemadd [
gemascore = (+ gemascore 1)]
alias scoresys [
echo "You Scored $gemascore on Map $arg1]
alias gematimer [
while [= gemascored 0] [gemadd]
scoresys $arg1]
alias gema [
ctf $arg1
gematimer $arg1]