I think this is a fairly easy one but I have little exp with scripting, started yesterday smile

I just was wondering how to make a short little script that reads the entire contents of a text file and displays it to channel. I can do it onw line at a time inputing the line number but I want all at once.

This is the code for one at a time

on 1:TEXT:!display*:*:{

/set %Scan.no $2
/set %Scan.wh $read(Scans.txt, %Scan.no $+ )
/msg $chan {6Scan} %Scan.no $+ : %Scan.wh

}

Thanks !