Not bad as for the first time. Really, I like it. Very convenient to have a song playing on RCD Radio posted simultaneously in the channel under a /msg $chan command. However cam you clarify what this part means
if (!%sockread) { set -e %rcdradionp.output $true }
if (%rcdradionp.output) {
%sockread = $regsubex(%sockread,/<[^>]+>/g,)
if (%sockread) && ($len(%sockread) > 0) { // especially here, do not understand completely, your explanations would be a great essay helper for me.
%rcdradionp.command %sockread