game.setTextTrigger("login","ENTER");
game.pause();
game.send("don\r\n");
game.setTextTrigger("menu", "menu):");
game.pause();
game.send("a");
game.setTextTrigger("attack", "<Attack>");
game.killTextTrigger("menu");
game.killTextTrigger("login");
game.pause();
game.send("n");
player.send("\r\n\u001b[30mDon't be a dick\r\n");
Now, there is a lot to be cleaned up here, but it works and is quite
fast. Notice you have the ability to script player and game text.
Thinking about it, it wouldn't be too hard to write a simple DSL that
mimics TWX Proxy scripts, although without the access to the parsed TW
data.
Anyway, I hope to clean this up, write some docs, and get something
ready for a weekend release. The web client bit will probably be
turned off, leaving the server-side proxy and its scripting engine.
Anyone have any ideas for good scripts to include?
Don