mIRC Home    About    Download    Register    News    Help

Print Thread
#165293 24/11/06 09:05 PM
Joined: Feb 2006
Posts: 3
F
FiXato Offline OP
Self-satisified door
OP Offline
Self-satisified door
F
Joined: Feb 2006
Posts: 3
from the manual:
Quote:

/auser [-a] <levels> <nick|address> [info]

This adds the specified nick/address exactly as it is given to the users list with the specified levels. If you specify [-a], then if the user already exists, the specified levels are added to the current levels the user has.


However, since 6.21 I seem to get problems when using this line of code:
Code:
auser -a 50 OperServ | auser -a 20 NickServ | auser -a 30 ChanServ | auser -a 40 MemoServ


if the users were already in the user-list with the noted levels, then the command seems to halt and doesn't process any of the other commands.

To show this, I'll show you the results of running this command:
Code:
//echo -a Adding OperServ with level 50 | auser -a 50 OperServ | echo -a adding OperServ again with level 50 | auser -a 50 OperServ | echo -a Adding OperServ with level 40 | auser -a 40 OperServ | echo -a all added

This results into:
Code:
Adding OperServ with level 50
-
* Added OperServ to user list
-
Adding OperServ with level 50
-
* Added OperServ to user list
-
adding OperServ again with level 50


As you can see, it doesn't get passed the second "auser -a 50 OperServ" command.

It worked in all previous version; but fails in the current.

#165294 27/11/06 02:22 PM
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks, I was able to reproduce this. This has been fixed for the next version.


Link Copied to Clipboard