Might want to strip the text (might not as well for all i know) Also I dont understand why you selected to start from $2 ?
[code]
on *:text:*:#:{
set %entry $remove($strip($1-),0,1,2,a,b)
if !%entry { <actions if entry contained only 0's, 1's, 2's, a's and/or b's> }
}
[code]
* Maybe change to set %entry $remove($strip($1-),0,1,2,a,b,$chr(32)) to catch spaces if they dont count as other characters, since "0 1 2 a b" well produce a 4 bytes string of 4 spaces in a row, so it looks blank but isnt.