Hi, i want to create a script. I want to auto reply query.

like this;

on *:TEXT:*:?: {
.msg $nick hi
}

but how can i reply second and third and ... message? I want to send a new message every time a message arrives with timer. no matter what message comes example;

on *:TEXT:*:?: {
.msg $nick hi
timer1 5 .msg $nick how are you?
timer1 5 .msg $nick thanks
timer1 5 .msg $nick i dont know
}

thank you very much