Update: I've stopped working on this, as I found something that already does basically exactly the same thing.
Code:
Language: AutoIt3
Don't bother with this unless you're skilled with AutoIt. It is NOT complete.
Edit: I should mention, this is intended for use with in Thurarikson's Warcamp, and the NPC by the same name. It COULD be used with a different NPC, but that would require more WORK
Edit 2: What the hell? All of my variables got butchered. What's the point of a [code] block if variables that start with a $ get destroyed anyways? ******* hell..
Edit 3: Grumble.. I uploaded the code to some random pastebin.