Liberating Command

Transmutation
Level: Artificer * 1, Bard * 1, Cleric */Oracle * 1, Druid * 1, Hunter * 1, Paladin * 1, Ranger * 1, Sorcerer */Wizard * 1
Components: V
Casting Time: 1 Immediate Action
Range: close (25 ft. + 5 ft./2 levels)
Target: one creature
Duration: instantaneous
Saving Throw: Will negates (harmless)
Spell Resistance: yes (harmless)
  If the target is bound, Grappled, or otherwise restrained, he may make an Escape Artist check to escape as an Immediate Action. He gains a Competence Bonus on this check equal to twice your Caster Level (maximum +20). This spell has no effect if the target could not get free by using the Escape Artist skill (for example, if he were under the effects of a hold person spell or Paralyzed by Strength damage).