
Re: TWX Proxy Feature Requests?
Assignment operators are done...
Subject: TWX Proxy - Asignment OperatorsWhen I re-wrote my telnet crawler 8 years ago, I only included the bare necessities (i.e. send, echo, wait, delay, etc...). It was just enough to write a login script and c# (.net Codedom Compiler) handled all the parsing and database stuff. I did not even know TWX existed, and took a slightly different approach to "Triggers", which I called "Watches". Instead of jumping to a label, a watch just sent a response to the trigger string:
Code:
AddWatch("pause", "[Pause]", "\r", 0);
now I am working on SetAutoTrigger command for TWX:
Code:
# Respond to pause prompts until trigger is killed.
SetAutoTrigger PAUSE "[Pause]" "a " 0
# Respond with a system varable & <enter> to the login prompt.
SetAutoTrigger LOGON "Please enter your" LOGINNAME & "*"
# Send <enter> to a single prompt.
SetAutoTrigger SHOWLOG "Show today's log?" "*"
...and the command is already documented:
https://github.com/MicroBlaster/TWXProx ... utoTriggerafter this Lonestar's open database and related database commands.