Easypt

read

..Root.console.read

Reads the characters from the standard input until first whitespace is encountered.

Child of:

console

Signatures:

NativeCallable, Callable

Example:

import("console");

while (true, {
    if (console.read().==("beep"), {
        console.beep();
        console.writeLine(">_<");
    });
});