This is a tool used to mirror poses, usefull for animating cycles.
The tool needs to have the rig made facing the Z direction and also assumes the default XYZ rotation order... This can of course be changed in the script.
single selection:
Select a single controller, like the hips for example, and run the tool. When only one controller is selected it will flip itself based on rotation only.
two control selection:
Select two oposing controllers, then run the tool. When two controllers are selected it will switch translates as well as rotates.
more detailed info on building a shelf button to flip an entire rig in one button available on my site at http://simpletofind.ca