look up /help Custom Identifiers
e.g.:
alias custom {
if ($prop == int) { return $int($1) }
elseif ($prop isnum) { return $round($1,$prop) }
else { return $1 }
}
//echo -a $custom($pi).int --- $custom($pi).3 --- $custom($pi)
returning: 3 --- 3.142 --- 3.14159265358979323846
(well, it's a quite witless example

)
What you said above wont work in $nick(#,$nick).pnick if they were +q in a network that only supports ohv, or @%+.
...Nor will a custom operater work in this case