Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Beginner simple loop script

1 view
Skip to first unread message

suk...@gmail.com

unread,
Dec 12, 2006, 9:50:44 PM12/12/06
to
Hello,


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

0 new messages