Before you go out and start coding your own cloaking script or buy one of the overpriced solutions out there here is a great alternative:
http://php-tools.net/site.php?&file=patSpiderizer/overview.xml
It’s released under GPL and has a pretty nifty interface that takes some of the knowledge of coding out. Check out the forums there for more info, etc..