This is non-regex version of using a one-line text trigger:
on *:TEXT:$($iif(!rand == $strip($1),$1)):#:{
this is not the same as blackvenom's example, since $1 returns the full line of text when used in the matchtext portion. i mentioned this before on the forums