Best regards to everyone

I was wondering whether anyone knows how to make consol program that we can change the settings in COD4 MWR?
It would be good if I could turn on r_filmusetweaks 1 or cg_fov 90 .

If anyone has something similar or knows how to do i will give him a lot of thankful as well as the rest of the people who play MWR