mIRC Home    About    Download    Register    News    Help

Print Thread
improve the user list #69439 27/01/04 01:08 PM
Joined: Dec 2002
Posts: 212
V
vasil_michev Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
I know this is not supposed to occur, but if you have more than one entry in the user list for the same address, and with different levels, $level(address) returns the first one (the one which is placed above the other) no matter of the levels

the problem is that it happens also with wildcard addresses, for example:
here $level(MrProper!DelOpm@del.html.chat) returns ircop
ircop:MrProper!DelOpm@del.html.chat
55:*!*@*.html.chat

and here it returns 55
55:*!*@*.html.chat
ircop:MrProper!DelOpm@del.html.chat


this also happens when the levels are both numerical, and both alpha
anyone can see that these entries are not the same, and that the address matches them both
So I'm asking for a way to prioritize this, for example if the user entry contains the nickname it is the right one to be returned. in the example I gave it will always return "ircop". fulladdresses should be preffered compared to wildcard addresses

Another thing I would like to see - option which will determine whether named levels are greater then numerical ones


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
Re: improve the user list #69440 27/01/04 02:25 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
then you add the user with 55,77 after that it will reply to both..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: improve the user list #69441 27/01/04 05:28 PM
Joined: Dec 2002
Posts: 212
V
vasil_michev Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
that's what I do, I add the specific user, not the entire domain, but as you can see from the example there's no use of that
and I don't want the entire domain to have that level


perhaps $level(address,N) where N is the matching entry...


And all I need now is intellectual intercourse, a soul to dig the hole much deeper