on *:text:*:#:{ set %entry $remove($2-,0,1,2,a,b) if !%entry { <actions if entry contained only 0's, 1's, 2's, a's and/or b's> } }