Mine
public text v1 · immutable//javascript
function checkTerm()
{
if (document.form1.area1.value.subString(document.form1.area1.value.lastIndexOf("\n") + 1 == "help")) {
document.form1.area1.value+="XiaOS Help";
}
}
//html
<html>
<body>
<form name="form1" method="post">
<textarea name="area1" onKeyDown="checkTerm();" style="width: 100.4%;" rows="18">
</textarea>
</body>
</html>