Listening for ! chat command?

How the heck do I get a !pop (show server pop) command to work ? All I could think of was a console server command for response but that doesn't work. 

I'm really stupid, sorry 

Regex so that it matches (start of string)!chat(end of string) (dont remember symbols for it)