Yeah, if you want to have the category being displayed set on-the-fly by code, then you'll have to do your own parsing of variables as there's nothing already coded that will give you the category name depending on $showCat.
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here
* Not affiliated with EasyPHPCalendar or NashTech Inc.