Hello, I chat on a network that has superowners. Their user mode is the apostrophe. '

if ($nick isop $chan) returns $true
if($nick isowner $chan) returns $false

if ($nick($chan,NICKNAME,')) returns $true

So I use this method to tell if they are a superowner.

This is a selection fromt he nicklist popup.
$iif($nick($chan,$$1,'),$style(1)) Superowner

Puts a check mark preceeding Superowner if they are superowner.

Recently someone with a nickname that was just numbers has entered the room and they appear as a superowner using this method regardless of their user mode.

(the nick changes but the format is the same and the results are always the same)

NICKNAME: 65978736569070978

I figured out what happens is if I use:

$nick($chan,65978736569070978,') it returns the total number of SuperOwners in the room. The same as $nick($chan,0,').

It appears that this happens if the nick is more 11 or more digits.

Test it using . for owners instead of ' if you dont have a ' usermode. You will see what I am talking about. Check for a nickname of 10 digits, it will return $null. Check for 11 and it will give you the total number of nicks that have that usermode.

Thanks!

Last edited by DJ_Sol; 16/12/07 03:08 AM.