if I understand what you're asking correctly, what you want is something like:
if (($1 == wordhere) && (!$2)) { do stuff }
I think I can work with your example:
if (($1 == word1) || ($1 == word2) || ($1 == word3)) && (!$2) {
echo -s Channel: $chan
echo -s Text: $1-
echo -s Nick: $Nick
.timer 1 4 .msg # 10 $nick : 3 $1 04is not acceptable language here
}
Just FYI, I use (!$2) out of habit; it's a shortcut, and actually means if ($2 == $null) .
Another option would be to simply take your code (remove the extra || like I did), and change all your $1 to $1- . Then it's saying if everything they type is [word], instead of just if the first thing they type is [word].
Hope this helps.
-Venoman