on 1:TEXT:*:#: {
var %greetings = hello hi whassup greetings hey hiya sup, %word = 1
while (%word <= $numtok(%greetings, 32)) {
if ($istok($1-, $gettok(%greetings, %word, 32), 32)) {
/msg $chan 4hiya 7 $+ $nick $+ 4!
/inc %word $numtok(%greetings, 32)
}
/inc %word
}
}