Contingency

Contingency
Casterlevel: Sor/Wiz 6 School: Evocation Components: Verbal, Somatic Casting Time: 5 minutes Range: Personal Area: Self Duration: Permanent (until reset) Saving Throw: None (harmless) Spell Resistance: No (harmless)

You can place another spell upon your person so that it comes into effect under some condition you dictate when casting the contingency. The spell to be brought into effect by the contingency must be one that affects your person and be of a spell level no higher than one-third your caster level. (rounded down, maximum 6th level).