just occured to me to let ya know ha's going on there might be a better way of doing things!

I'm trying to create a program that will have various buttons for different locations within a game a play, these buttons should trigger of a pattern of commands being sent to that game to do whatever it is thats needed to be done, move the character north picking up items etc.

preferably these commands would be stored in atext file or somesuch that is easily editable, so i can change whats going on wtihout having to rewrite another program.

the program would also have to send a 1 second pause after each line from the text file is sent

as an example:

Line 1 :<whatever the commands are>
wait one second
Line 2 :<whatever the commands are>

etc.
etc.

hope that helps with either getting what i;ve got so far to work correctly or getting soemthing that will!