is there cubescript to return the name of the map you are on?
almost done with the gema script. =)
edit:
ok i finished the script but, I cant get it to work. Here is my script:
I might've mixed some c in there where it didn't belong.
It doesn't work yet, later versions will follow (likely in the next few minutes) as I try to debug.
Edit: I tried a few things and can't figure out what I have done wrong. Halp?
almost done with the gema script. =)
edit:
ok i finished the script but, I cant get it to work. Here is my script:
[SELECT ALL] Code:
//gema script by sblargish
add2conloop [if_conline_has "game mode is "CTF"[gema]]
alias gema
[
[gematime = 0]
[scored = 0]
[ctfnum = 5]
[if (= $gamemode $ctfnum)[if (= $connected 0) [scoresys][gematimer]]]
]
alias congrats
[
echo "Your score: $gematime"
]
alias gematimer
[
[echo "Gematimer Started"]
[while !scored [+= $gematime 1]]
[congrats]
]
alias scoresys
[ add2conloop [if_conline_has "you scored" [scored = 1] ] ]
I might've mixed some c in there where it didn't belong.
It doesn't work yet, later versions will follow (likely in the next few minutes) as I try to debug.
Edit: I tried a few things and can't figure out what I have done wrong. Halp?