i am not familiar with cod1, try this: https://github.com/riicchhaarrd/CoDExtended
It seems to me that the "catching" of rcon commands is already implemented there, you can ask the developer or try yourself add a callback for processing cmd_functions() in .gsc