Screen Flash Red when told

How do i make the corners of the camera blink red or the whole camera blink red once, everytime i run a command. I just need the command for the blinking red corners or the whole screen. I would really appriciate help.

This outta get you started.