On our site we use a plugin that uses the IP2Nation module to detect the country of the visitor.
We then output amended content if the site is viewed from abroad - so instead of encouraging visitors to view the showroom, we tell them that we export worldwide.
The thing is, I've just discovered that Google's cached versions of pages are the Export version.
So my question is... Is it possible to detect if a 'visitor' is a bot - preferably as an if statement. We could then surround the export checking if statements with a bot checker first, so that bots don't trigger the export version, but real people do.