Without joining that network, I can't test this, but your post about the % character being part of the channel name might be the cause, since the channel in the ON JOIN event is being specified as a # channel, not a %# channel. Try changing the # in the ON JOIN event to a *