If you have selected your and your enemy's tank, the script will calculate the required angle and power for the above described modi.You should see the ccordinates in the console window. Pressing CTRL + ALT + E again will override the old coordinates. Same procedure for the enemy tank, press CTRL + ALT + E and click on it.
If you have misclicked you can press CTRL + ALT + P again and select your tank.
A simple Python script using ilyaki's formula for finding the optimal power and angle for ShellShock Live.