I directed you to the help file
on INPUTThe
on INPUT event triggers when you enter text in an editbox and press enter.
Format: on <level>:INPUT:<*#?=!@>:<commands>
Example: on 1:INPUT:#mIRC:/echo You entered the text " $1- " in the #mIRC window
Exampleson 1:INPUT:#:/echo I just mumbled " $1- " in a channel
on 1:INPUT:#: {
if (/* iswm $1) return
if (cookie == $1) {
describe $chan takes a cookie out of the jar.
halt
}
}