/t {
; Usage: use /split $read(file.txt) to split the file line up to multiple lines, if necessary
; Set length to the maximum number of characters you want sent to the channel
var %length = 350
var %strleft = $1-
var %lenleft = $len($1-)
while ( %lenleft > 0 ) {
; Be sure to change this next line. Use $left(%strleft, %length) in place of your normal variable.
/msg $chan $left(%strleft, %length)
%lenleft = %lenleft - %length
%strleft = $right($1-, %lenleft)
}
}