mIRC Homepage
Posted By: FiXato /auser -a bug? - 24/11/06 09:05 PM
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.
Posted By: Khaled Re: /auser -a bug? - 27/11/06 02:22 PM
Thanks, I was able to reproduce this. This has been fixed for the next version.
© mIRC Discussion Forums