on *:text:!yes*:#:{
and
on *:text:!no*:#:{
should maybe be just
on *:text:!yes:#:{
on *:text:!no:#:{
because the wildcard is pretty much useless if there\'s no necessary additional text.