mIRC Home    About    Download    Register    News    Help

Print Thread
Random Problem with 6.2 and auser adds #164024 06/11/06 09:57 PM
Joined: Nov 2006
Posts: 35
N
noscriptskills Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Nov 2006
Posts: 35
Hi,

I have used the code below in other versions of mIRC and it has always added users to the user list and properly identified them as being on the welcome list.

Code:
menu nicklist {
  -
  Welcome List ( $+ $group(#welcomelist) $+ )
  ..On/Off
  ..$iif($group(#welcomelist) == on,$style(2),$style(0)) On: .enable #welcomelist
  ..$iif($group(#welcomelist) == off,$style(2),$style(0)) Off: .disable #welcomelist
  .Add:.auser welcomelist *! $+ $$ial($$1 $+ *,1).addr $1 | echo -a $1 added to welcome list
  .Remove:.ruser welcomelist *! $+ $$ial($$1 $+ *,1).addr $$1 
}

#welcomelist on
on welcomelist:JOIN:#:{ /msg # 03 Welcome Back $nick :P }
}
#welcomelist end

  


For some reason it won't add any user, but WILL add itself to the user list. Does anyone know if there's a bug that might be causing this anomoly.

Thank you.

Re: Random Problem with 6.2 and auser adds #164025 06/11/06 10:51 PM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Try this
Code:
  .Add:.guser welcomelist $$1 0 $1 | echo -a $1 added to welcome list

Re: Random Problem with 6.2 and auser adds #164026 06/11/06 11:17 PM
Joined: Nov 2006
Posts: 35
N
noscriptskills Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Nov 2006
Posts: 35
Thank you VERY much, that worked perfectly smile