Dominate Person(Player's Handbook v.3.5, p. 224)
Enchantment (Compulsion) [Mind-Affecting]
Level: Thayan Slaver 3, Bard 4, Urban Druid 4, Death Master 5, Sha'ir 5, Wu Jen 5, Beguiler 5, Wizard 5, Sorcerer 5, Court Herald 5, Domination 4, Temptation 5, Baator 6,
Components: V, S,
Casting Time: 1 round
Range: Close (25 ft. + 5 ft./2 levels)
Target: One humanoid
Duration: One day/level
Saving Throw: Will negates
Spell Resistance: Yes
You can control the actions of any humanoid creature through a telepathic link that you establish with the subject's mind.
If you and the subject have a common language, you can generally force the subject to perform as you desire, within the limits of its abilities.
If no common language exists, you can communicate only basic commands, such as "Come here", "Go there", "Fight", and "Stand still".
You know what the subject is experiencing, but you do not receive direct sensory input from it, nor can it communicate with you telepathically.
Once you have given a dominated creature a command, it continues to attempt to carry out that command to the exclusion of all other activities except those necessary for day-to-day survival (such as sleeping, eating, and so forth).
Because of this limited range of activity, a Sense Motive check against DC 15 (rather than DC 25) can determine that the subject's behavior is being influenced by an enchantment effect (see the Sense Motive skill description, page 81).
Changing your instructions or giving a dominated creature a new command is the equivalent of redirecting a spell, so it is a move action.
By concentrating fully on the spell (a standard action), you can receive full sensory input as interpreted by the mind of the subject, though it still can't communicate with you.
You can't actually see through the subject's eyes, so it's not as good as being there yourself, but you still get a good idea of what's going on (the subject is walking through a smelly courtyard, the subject is talking to a guard, the guard looks suspicious, and so forth).
Subjects resist this control, and any subject forced to take actions against its nature receives a new saving throw with a +2 bonus.
Obviously self-destructive orders are not carried out.
Once control is established, the range at which it can be exercised is unlimited, as long as you and the subject are on the same plane.
You need not see the subject to control it.
If you don't spend at least 1 round concentrating on the spell each day, the subject receives a new saving throw to throw off the domination.
Protection from evil or a similar spell can prevent you from exercising control or using the telepathic link while the subject is so warded, but such an effect neither prevents the establishment of domination nor dispels it.