hi {
var %active $active
if (!$1) { echo -a Incorrect usage. | return }
var %tmpc 1
while (%tmpc <= $numtok($1-,32)) {
if (!%tmpv) {
if ($numtok($1-,32) > 1) set -u0 %tmpv $gettok($1-,%tmpc,32) $+ ,
else set -u0 %tmpv $gettok($1-,%tmpc,32)
}
else {
if (%tmpc < $numtok($1-,32)) set -u0 %tmpv %tmpv $gettok($1-,%tmpc,32) $+ ,
else set -u0 %tmpv %tmpv $gettok($1-,%tmpc,32)
}
inc %tmpc
}
msg %active Hello %tmpv $+ . I am anon and I will be helping you today. %tmpv $+ , I have just contacted you via query message. If you need to contact me, you can /query $me
var %tmpc = 1
while (%tmpc <= $numtok($1-,32)) {
query $gettok($1-,%tmpc,32)
privmsg $gettok($1-,%tmpc,32) %active Hi, What can I help you with today?
inc %tmpc
}
}