|  | 
| | 
 
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
Why is it sometimes when i add a user it gets this: /auser: insufficient parameters used: /auser -a userip $address($$1,2) |  |  |  
| 
| 
|  |  
| 
Joined:  Aug 2004 Posts: 7,168 Hoopy frood |  
|   Hoopy frood Joined:  Aug 2004 Posts: 7,168 | 
That would return that message if $1 wasn't returning a nick that could be addressed.  There may be other reasons, but I can't think of anything else, and without knowing the circumstances when that does come back like that, there's nothing else I can do.
 |  |  |  
| 
| 
|  |  
| 
Solo1
 |  
| Solo1 | 
Could be the IAL list has not been updated. |  |  |  
| 
| 
|  |  
| 
Joined:  Mar 2005 Posts: 420 Fjord artisan |  
|   Fjord artisan Joined:  Mar 2005 Posts: 420 | 
Could be the IAL list has not been updated. I would agree. learn3r: Use /guser  instead /help /guser |  |  |  
| 
| 
|  |  
| 
Joined:  Jan 2007 Posts: 1,155 Hoopy frood |  
|   Hoopy frood Joined:  Jan 2007 Posts: 1,155 | 
Someone will only be entered into the IAL list when they do something in a room you are in. If you join a room, noone is in your IAL list unless of course they made some sort of action in another room you are in. |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
I tried /guser but, stores nick like Is it possible using /guser to save only the nicks? |  |  |  
| 
| 
|  |  
| 
Joined:  Mar 2005 Posts: 420 Fjord artisan |  
|   Fjord artisan Joined:  Mar 2005 Posts: 420 | 
Someone will only be entered into the IAL list when they do something in a room you are in. If you join a room, noone is in your IAL list unless of course they made some sort of action in another room you are in. I am aware of that.  |  |  |  
| 
| 
|  |  
| 
Joined:  Mar 2005 Posts: 420 Fjord artisan |  
|   Fjord artisan Joined:  Mar 2005 Posts: 420 | 
I suggested /guser because on your first post, you were using $address($$1,2) which will get the mask *!*@HOST of the user being added (Correct me if Im wrong with the mask as I currently don't have mIRC in this PC). If you just want to store the nicks, then /auser will just be fine. |  |  |  
| 
| 
|  |  
| 
HuMoR
 |  
| HuMoR | 
I tried /guser but, stores nick like Is it possible using /guser to save only the nicks? Use /auser -a user $nick  instead /guser. Cya.- |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
actually that's what i'm using right now using storing nicks.. |  |  |  
| 
| 
|  |  
| 
Joined:  Aug 2004 Posts: 7,168 Hoopy frood |  
|   Hoopy frood Joined:  Aug 2004 Posts: 7,168 | 
Yes, however, in your original post you were using/auser -a user $address($nick,2)
 Not
 /auser -a user $nick
 
 The fact that you were storing the address, rather than the nick, is the reason /guser was suggested.
 
 |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
if $list(nick == $true) { echo -a working }Why is this ain't working? i want is when there is a level "nick" on my userlist it'll echo working and if not echo "none is added" |  |  |  
| 
| 
|  |  
| 
Joined:  Aug 2004 Posts: 7,168 Hoopy frood |  
|   Hoopy frood Joined:  Aug 2004 Posts: 7,168 | 
You have your parantheses incorrectly located, and an incorrect identifier (unless you have a custom alias for list) menu nicklist {
  $iif(nick isin $ulist($$1),.ruser nick $$1,echo -a None is added)
}
 |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
What i'm trying to do is a menu if a level named "nick" is there on the userlist it'll rlevel it.
 else if none it'll echo that non is added.
 |  |  |  
| 
| 
|  |  
| 
Joined:  Aug 2004 Posts: 7,168 Hoopy frood |  
|   Hoopy frood Joined:  Aug 2004 Posts: 7,168 |  |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
like this.. menu channel {
if level == nick is there on the userlist { rlevel nick }
else { echo -a non is added }
}not a menu on the nicklist... |  |  |  
| 
| 
|  |  
| 
HuMoR
 |  
| HuMoR | 
Mmmm, i dont understand... 
menu channel {
if ($ulist(*,nick,*) > 0) { rlevel nick }
else "something"
}
Cya!.- Edit: now i understand you...
Last edited by HuMoR; 27/03/07 02:29 PM.
 |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
if the " $address($nick,2) " is on the nick level on the userlist it'll ruser the specified host of the nick that is on the userlist...
 |  |  |  
| 
| 
|  |  
| 
HuMoR
 |  
| HuMoR | 
rlevel remove all users who belong to that level...
 Eg:
 
 20:Nick0
 20:Jonhy
 20:Robert
 10:Chanserv
 
 If I use rlevel 20 only Chanserv would be on userlist...
 
 Cya!.-
 |  |  |  
| 
| 
|  |  
| 
learn3r
 |  
| learn3r | 
menu channel {
if level == nick is there on the userlist { rlevel nick }
else { echo -a non is added }
}if the specified nick's host is on the userlevel "nick" it'll ruser it... |  |  |  
 | 
 | 
| 
 |