couple of methods:
var %x = 1
while ($$mid($nick,%x,1) !isletter) inc %x
if ($v1 isupper) {
; commands
}
the extra $ in $$mid() makes it /halt if the nick contains no letters. you could also be sneaky and use
if ($v1 < a) which checks it's upper case (lexicographic comparison) :P
or the regex method:
if ($regex($nick,/^[^a-zA-Z]*[A-Z]/)) {
; commands
}
which also checks it's uppercase