Jethro commented on a Page, Channel Status - $status  -  Feb 06, 2011

ChaChin, the status means users' ranks in the channel, be that as op, halfop, owner, admin, etc...it's nothing to do with channel or status window per se. What does the code do is to replace Owner with 5, Admin with 4, Op with 3, HalfOp with 2, and Voiced with 1. This is a custom alias which you need to use $status() to call from it.

I reckon the code can be done as such:

alias status {
  return $+(<,$replace($iif($left($nick($1,$nick).pnick,1) isin $prefix,$v1),+,1,%,2,@,3,&,4,~,5),$2,>)
}

Then use

$status(#,$nick)

as the custom identifier.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.