Mode Prefix - 26/10/04 04:03 PM
i've used this alias as the most simplistic way i can, for aligning and getting the mode prefix from myself and other nicks, when typing.
thing is, now i want to extract the actualy mode prefix itself ie;
the @ . ~ % & + or whatever, so i can move it over and seperate the nickname from the prefix for a theme idea i have, not sure how to extract just the mode though.. any ideas would be great.
Code:
alias xnick1 { var %a $iif($2,$2,$chan),%b $iif($1 !isreg %a,$left($nick(%a,$1).pnick,1)) $+ $1 return $str(ΓΏ,$calc(21 - $len(%b))) $+ $iif($1 !isreg %a,$+(00,$left(%b,1),06,$mid(%b,2,20)),$+(06,$mid(%b,1,21))) }
thing is, now i want to extract the actualy mode prefix itself ie;
the @ . ~ % & + or whatever, so i can move it over and seperate the nickname from the prefix for a theme idea i have, not sure how to extract just the mode though.. any ideas would be great.