Nice idea with $prefix, but there are some networks that have levels of status lower than voice (uops on Webnet for example). With this in mind I'd check $nick(#,$me,$deltok($prefix .,-1,43)) instead. It assumes of course that if + isn't present in $prefix (don't know how often that happens) that there is nothing higher than voice status on that server, but I believe $nick(#,$me,@%) is safe to use in most cases since the networks I've seen with higher access levels will also have +o set on a nick. Less important but you could also use $ial($me) in place of $address($me,5) for sake of shortening it