From Wiki Gonzalez
HAL McRae is an electronic intelligence known for spending time in Baseball Primer's IRC Chat. Originally designed by HCO in 2006, and previously known as WinExBot and PrimerBot, he quickly turned against his creator and became a surly but still brilliant presence.
Try asking him for a fact about Kevin.
HAL can also crudely compute a team's win expectancy from a given point in the game. The syntax is HALMcRae: winex "H/V",inning,outs,bases,score where score = batting team's score minus fielding team's score, bases = 1 + (1 if runner on first) + (2 if runner on 2nd) + (4 if runner on 3rd), e.g. first & third = 1 + 1 + 4 = 6.
Yeah, it's really awkward. Here are some examples:
Road team batting in the first, nobody out, bases empty, no score.
< Simplicio> HALMcRae: winex "V",1,0,1,0 <@HALMcRae> Simplicio, the batting team won 29357 out of 63791 games (46.02%).
Bottom of the fifth, runners on second and third, 2 outs, home team down by 1. So the base state = 1 + 2 + 4 = 7.
< Simplicio> HALMcRae: winex "H",5,2,7,-1 <@HALMcRae> Simplicio, the batting team won 135 out of 274 games (49.27%).