How can I make mIRC loop through $read and return a line with no text in it?
I have a text file called rserv.txt. The contents of the file is exactly like this:
Welcome!
Please note that this server is monitored!
---
I want that to appear exactly like that when I do /loop
Here's my loop command:
alias loop {
var %i = 1
while ($read(rserv.txt,nt,%i)) {
echo -a $ifmatch
inc %i
}
}
All my code seems to be doing is returning the 1st line. Why isn't it returning the rest of the file?