Find the code used on my blog post at thinkparticle.com/2012/02/cinema-4d-tutorial-19/
In this tutorial we use the Xpresso COFFEE node in Cinema 4D to create several 'if statements' to create a nice Xpresso tool. This is incredibly simple to do and incredibly useful.
If you have any questions please let me know! I love helping out the community! I also am quite interested in putting time into more tutorials like these so do expect them. Requests are always warmly welcomed and almost always made into tutorials!