ON INPUT
Format:
ON INPUT: ON TEXT:<text>:<*>|<?>|<#channel>[;#channel][etc...]:<alias> [:-]
Example:
ON TEXT:! *:*:/runscript [bothandler] *1
Available info:
$nick - nick name of the user that said <text>
$address - address of the user that said <text>
# - the channel name
The ON INPUT event occurs when you press the enter key to issue a command or send text and the text parameter matches your input.
The text parameter may use wildcards (*) as follows...
Text literal text - user said only this word or words
text* message starts with the indicated word or words
*text message ends with the indicated word or words
*text* the word or words are anywhere within the message
Copyright © 2009, John G. Kirkland
Created with the Freeware Edition of HelpNDoc: Easily create Help documents