If Twitch isn’t chunking the messages and there’s nothing in my code doing it I guess it’s something wrong with the net module or? Either way, that’s exactly what I ended up doing the other day and it works fine:
if(data.indexOf('PRIVMSG') >= 0) {
lines = data.split('\r\n');
if (lines[lines.length-1] === '')
lines.pop();
for (var i = 0; i < lines.length; i++) {
individual line stuff...
Although I’m not a beginner, sometimes I do code like one lol. I don’t mind writing stuff myself (as a challenge/for learning purposes) I just don’t remember having this issue with the base TWITCHCLIENT or without CAP REQ tags.