I'm trying to make a simple script which loops through text line and
sends those lines to "irc_nick".
But it doesn't work. Can someone see what's wrong here?
alias foo {
var %text.lines = $lines(C:\Programmer\Mirc\Testwords.txt)
var %text.current.line = 1
while (%text.current.line <= %text.lines) {
msg irc_nick $read(C:\Programmer\Mirc\Testwords.txt,
%text.current.line)
.inc %text.current.line
}
}
Thanks in advance,
Dusan Sukovic