@Gav
You need rexxreqtools.library not just reqtools.library
@cgutjahr
AWNPIPE isn't asynchronous, which means that you send "con" (as in continue), and then you are forced to WAIT to see if a button has been clicked on. I don't want to wait, I want a command that tells me what buttons have been clicked on and not processed yet.
rxsocket.library allows me to see if there is any data to get, and then get it...
What I want in AWNPIPE is to first see if a button has been clicked on, and if not, then see if if i've typed anything, and if not, then loop..
AWNPIPE is like ReadLn(), you so ReadLn(File) and it just hangs until it reads a line.. there's no CheckToSeeIfThereIsALineToReadFirst()
hehe..
Check the .rexx, and look at the usage of Lines(), I check to see if anything has been typed in the shell window and then if not, check to see if there is any data from the msn server to be read, and if not, then checks to see any commands u sent in the ircd, and if not, then loop..
If it still doesn't make sense, picture this:
You have a conversation window open, and it can't process what you are typing and can't process the messages being sent to you, because it's forever waiting for you to click on the close gadget to shut the window.. No command to simply see if you've clicked on the close gadget

Look at the .readme for CTGUI on aminet..