Update c_say function in main.php

Update grepping commands and better switch/case.