I just copied and pasted that into my script:
on *:text:*math*:#channel:{
IF (badtext) {
halt
}
ELSEIF ($regex($1-,/(^|[^\.\d])0*[1-9]|\.[5-9]/S)) {
window @UrgentAlert 0 0 1275 875
aline -pi @UrgentAlert $remove(( $time ), $chr(32)) 12 $nick 7 $chan 11 $1- $+
splay urgent.wav
}
ELSE {
window @RegularAlert 0 0 1275 875
aline -pi @RegularAlert $remove(( $time ), $chr(32)) 12 $nick 7 $chan 11 $1- $+
splay beep.wav
}
}
And then tested it with 28.50 and 0.02 and both alerted in the urgent window with the urgent wav...