// if bit 2 is to then we are in host mode
if (messageex[2] != 'to' && messageex[3] != 'to' && messageex[1] != 'viewers' && messageex[1] != 'viewer') {
Don’t use a regex.
Mine needed no changes since I take the string that TwitchNotify says and splits it around spaces.
var who = messageex[0];
Granted yes we need something better for initial subs. But a regex is unneeded here I feel.