The script would search for either Dayz.exe or CSGO.exe in running applications and send a message upon detecting one.
The message would say the following if CSGO.exe was detected:
!updatetitle CSGO Comp w/ oBeE
!updategame Counter-Strike: Global Offensive
The message would say the following if Dayz.exe was detected:
!updatetitle #Dayz PVP Elektro
!updategame DayZ
I imagine this could be tailored to work with any game/application by switching the parameters another game.
Thanks for your help.