Heretic is a powerful tool that is able to record user events, such as mouse clicks and keys, into a custom C/Java-like script, and play that script either once or repeatedly. It has many commands for static and dynamic pixel/image detection based botting, window-based botting, and static botting (i.e. key presses, mouse clicks, mouse movement, and pauses). You can combine these to make great bots. I am currently working on making pixel/image detection easier, and making memory reading.
You can download the Full version of Heretic here. (1.4 MB file)
For more information go to http://zone-dev.com/heretic.php