Hello ! I need some help on a Test Script from me
on *:TEXT:!test:#: {
if (1 = 1) { msg $chan Test working. }
}
on *:TEXT:!test:#: {
if ($nick isop #) { msg $chan Test cycle is now starting.
.timerTest 0 10 add.test
}
}
on !*:part:#:(.timerTest) off
alias add.test {
if (1 == 1) { write -c test.txt test }
}
This works all Fine. He write the test.txt whit test and if i delete it , he write it again in the file.
So my Timer is still working
But if i change { write -c test.txt test } to
on !*:part:#:(.timerTest) off
alias add.test {
if (1 == 1) { msg $chan Test }
}
I will not wrote in the Chat every 10 seconds Test.
Now my Questions what to i wrong ?
Yours sincerely,
Renegaade