It's not really possible without some kind of /who or /whois
unless the IRC Server supports some other non-standard way of telling who is and who is not an IRC operator.
Should be simple enough to hide the who reply from your status window.
Unsure if you meant not see the /who reply, or not use /who
I threw some messy code together anyway.
Not really tested.
alias GetHaltWhoVar { return $+(%,$1,$chr(44),$2,$chr(44),haltwho) }
; Might sendQ off when /who ing really large channels.
; Can raise and lower this as you see fit.
alias GetNoWhoChanSizeThreshold { return 600 }
raw 366:*:{
echo -s $1-
echo -a $chan($2).ial
if ($chan($2).ial == $false) && ($nick($2,0) < $GetNoWhoChanSizeThreshold) {
who $2
set $GetHaltWhoVar($cid,$2) 1
}
}
raw 352:*:{
if ((* isin $7) && ($ial($6))) .ialmark $6 oper
if ($var($gethaltwhovar($cid,$2))) halt
}
raw 315:*:{
if ($var($gethaltwhovar($cid,$2))) {
unset $GetHaltWhoVar($cid,$2)
halt
}
}
alias ShortPnick {
; (channel, nick)
var %s = $nick($$1, $$2).pnick
var %oper = $iif($ial($2).mark == oper,*,$null)
if ($left(%s,1) == $left($2,1)) return $+(%oper,$2)
else return $+(%oper,$left(%s,1),$2)
}
on ^*:text:*:#:{
;need to add echo flags
echo -t # < $+ $ShortPnick(#,$nick) $+ > $1-
halt
}
Needs some work, like adding the flags to the echo to get the highlight working again, I can't remember them all.
You might want action messages to flag up they're an oper too. Sure you can manage to look that one up for yourself.
Can add an on input one too, but could check your own usermodes for that, not the ial mark.
Might want to remember that if an oper does /mode theirnick -oO you'd still think they were an oper, at least until you did /names #channel or /who #channel again.