Train Animal(Spell Compendium, p. 221)
Enchantment (Charm) [Mind-Affecting]
Level: Druid 2, Ranger 2,
Components: V, S, DF,
Casting Time: 10 minutes
Target: Animal touched
Duration: 1 hour/level
Saving Throw: Will negates (harmless)
Spell Resistance: Yes (harmless)
At last, you near the end of the spell's complicated procedure. As the final act of the ritual, you call out the tricks you wish to teach the animal you are touching. Your hand tingles for a moment as the spell takes effect.
While this spell is in effect, the affected animal gains a number of additional tricks equal to half your caster level (maximum five).
This spell does not modify an animal's attitude toward you, nor does it guarantee that an animal will cooperate when instructed to perform the newly learned tricks.