Is it possible to write an If / Then/ Else command to do :
Have my Pally cast Exorcism unless its on cooldown in which case I want him to cast Hand of Reckoning
and then have my mage cast Frostbolt and the Shaman cast Lightning bolt ( either way )
So 1 way it would be P-Excorcism, S-Lightning Bolt, M-Frostbolt
or
P-Hand of Reckoning, S-Lightning Bolt, M-Frostbolt ( this would happen if Excorism is on cooldown ).
I was looking at WoW's api and found a getspellcooldown command but I'm not sure how to combine it within GCP's commands.


Not so easy - the problem is that most of the "cast x if y" operations are prevented by a bliz mechanism called taint. Any command that uses a protected function is "tainted", and can only be called by bliz code. Thus, if you did write such a thing, you wouldn't be able to run it.
However...
There is a whole level of expertise in "click macros" which I don't have. There are some posts about it on these forums, from people who are more ingenious than I. (http://gamecommanderpro.com/node/373)
Phil
Designer Of GameCommanderPro - www.GameCommanderPro.com
Designer Of KeyBlaster - www.keyblaster.com