on *:TEXT:!test:#: {
if ($nick isop #) { msg $chan Test cycle is now starting.
.timerTest 0 10 add.test $chan
}
}
alias add.test {
if (1 == 1) { msg $1 Test }
}
I don't get why the if is there. But the alias doesn't retain the channel so you have to send the channel along with the alias call.
Thank you my friend ! This will work perfect.
The if(1 == 1) is for me to Testing because i want that he only send this massage if the if is given. .
@JuanAm , Yours not working but if i to what Belhifet says and send $chan on the timer it will also Work
on *:TEXT:!test:#: {
if ($nick isop #) { msg $chan Test cycle is now starting.
.timerTest 0 10 add.test $chan
}
}
on !*:part:#: { .timerTest off }
alias add.test {
if (1 == 1) { msg $1 Test }
}
Thank you very much to all! i tried it more then 2 hours to get it