To Shawn !

Kix has some commands to parralel the kbhit() funcrtion

GET
Action: Accepts a single character from the keyboard and stores the character in a variable.

Syntax
GET $x

Remarks
The character is stored in the specified script variable. If a function key, such as F1, is pressed, GET returns 0, and @ERROR returns the key code of the function key.

GETS
Action
Reads a line of characters from the keyboard until the <ENTER> key is pressed, and stores the result in a variable.

Syntax
GETS $x

Thomas