Someone has written a working poker bot, and has decided to tell how to build one yourself. Below is a screenshot of what must be the strategy editor.
Apparently he’s using a rule based expert system, which is a logical choice (imho) given the problem at hand. In the comments I found a link about breaking the random number generator in online poker, which makes the outcome of any poker hand completely predictable. Fascinating stuff.