Auto timeout on keyword

Hey all,
Did a google search on how to do this, but found nothing. Is it possible to create an auto timeout command on a specific keyword? Like if someone came in and said apple then they would be purged and given a warning. Similar to how posting link purges work, but with a keyword instead.


edit: nvm it can be found under spam protection