Okay, Sorry for bumping this, but now, I've come up with an issue.

So, The last piece of coding, allowed it to all be in one line, however, now twitch has implemented a maximum whisper message length, which is now posting the remainder of the text box as a standard message in the channel instead. This isn't great.

Is there a way, to set the code up, to post "x" number of characters, then start a new message, with the next "x" number of characters?

This is the way the code is in the bot right now for reading the text file:

Quote:

alias capital return $upper($left($1,1)) $+ $mid($1,2-)
alias capital2 return $upper($left($1,2)) $+ $mid($1,3-)

on *:TEXT:!cmd:#: {
if (%CADD.On. [ $+ [ $network ] ] [ $+ [ . ] ] [ $+ [ $chan ] ] != $null) {
var %command_file = rcdradio_commands.ini
var %k = $+($network,-,$chan)
var %x = $ini(%command_file,%k,0)
var %kk = ''

if (%x) {
.msg # .w $nick == Customized Command List for channel: $capital2($chan) $+ ...
var %text
while (%x) {
%kk = $ini(%command_file,%k,%x)
var %text %text ! $+ %kk => $readini(%command_file,n,%k,%kk) $(|)
dec %x
}
.msg # .w $nick = %text
}
}
.msg # .w $nick == End of Custom Command List
else {
msg $chan I'm sorry $capital($nick) $+ , there are no custom commands currently available.
}
}


Twitch Live-Streamer:
Synth Riders
Beat Saber
www.twitch.tv/eggfriedcheese