The enchanted creature is compelled to act randomly for 1 round. Rather than deciding its action for itself, the subject of the spell takes an action determined randomly on the following table:
1d8 Action
--- ------
1 Attack self (succeed on any attack roll other than a natural 1).
2 Attack nearest being (for this purpose, a familiar counts as part of the subject's "self").
3 Flee away from caster at top possible speed.
4 Drop anything held.
5 Stand motionless (as if stunned).
6 Do nothing but defend (total defense).
7 Speak (in the subject's native tongue, usually regarding surface thoughts) or make noises (if not capable of speech).
8 Attack caster with melee or ranged weapons (or close with caster if attacking is not possible).
Nothing can affect this die roll in any way. It is always entirely random.