I am trying to read a text file given the following first key words at the beggining of the line:
OWNER,HOST,DENY,GRANT
This is what I have so far:
Code:
alias test {
var %x = OWNER,HOST,DENY,GRANT
var %a = $read(accesslist.txt, w, * $+ %x $+ *)
echo -a $gettok(%a,1,9) $gettok(%a,2,9) $gettok(%a,3,9) $gettok(%a,4,9) $gettok(%a,5,9)
}
Its basically exported data to begin with, I dont really want to export it twice, so by echoing the lines back to me, I know that I have the data I need so that I can import it back to mIRC