Change this...
on $*:hotlink:$(/\b(.+?\.)+( $tlds )\b/x):*:{ url $1- }

to this...
on $*:hotlink:$(/\b(.+?\.)+( $tlds )\b/x):*:{ url -n $1- }