mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2006
Posts: 35
N
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.

Joined: Jun 2006
Posts: 508
D
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

Joined: Nov 2006
Posts: 35
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Nov 2006
Posts: 35
Thank you VERY much, that worked perfectly smile


Link Copied to Clipboard