My little modification to this funny script:
Code:
DllCall("AllocConsole")
DllCall("SetConsoleTitle", "str", uname := "ahkunix 1.1`n")
FileAppend, You have no mail.`n`n, con
while l != "halt"
{
FileAppend, %A_UserName%@%A_ComputerName% ~$%A_Space%, con
FileReadLine, l, con, 1
FileAppend, % l == "uname" ? uname : ((l != "halt" && l != "") ? "command not found`n" : ""), con
}
_________________
fincs
Highly recommended: AutoHotkey_L (
see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)[My project list]