this is the method i use , just make it into one string and use this function
code:
/*
* ---------------------------
* Void sendPartedMessage (chatWnd wnd, String str, Int length)
* splits a string into parts (decided by length) and sends them
* by -dt-
* ----------------------------
*/
function sendPartedMessage(wnd, str,length){
if(str.length > length){
var part;
while(str.length >= length){
part = str.substr(0,length);
str = str.substr(part.length);
wnd.SendMessage(part);
}
wnd.SendMessage(str);
}else{
wnd.SendMessage(str);
}
}