this is my dark simulacrum edit for SoO maybe if you want you can toss it in your profile. I have mine setup to watch my focus target.
Code:
local Spell,_,_,_,_,_,_,_,_ = UnitCastingInfo("focus")
if Spell == ("Froststorm Bolt") or Spell == ("Arcane Shock") or Spell == ("Rage of the Empress") or Spell == ("Chain Lighting") or Spell == ("Tranquility") or Spell == ("Divine Hymn") or Spell == ("Dark Soul: Instability") or Spell == ("Summon Doomguard") or Spell == ("Summon Infernal") or Spell == ("Power Word: Barrier") then
return true
end
The info boxes within the pqr editor are as follows:
Ability Name: use anything you want
Actions:
Cancel Channel: False
Recast Delay: 0
Skip Unknown: True
Spell ID: 77606
Target: Focus