mIRC Home    About    Download    Register    News    Help

Print Thread
#5043 05/01/03 01:36 PM
Joined: Dec 2002
Posts: 45
P
piko Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 45
is there any way to update the ial for all users on a chan when I join it?

menu nicklist {
userinfo
.( $+ $address($$1,2) $+ ):/whois $$1
}

you get the point? smile

#5044 05/01/03 01:42 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:JOIN:#:{
if ( $nick == $me ) {
who #
}
}

#5045 05/01/03 01:48 PM
Joined: Dec 2002
Posts: 45
P
piko Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 45
isn't there some other way to do it?
because, eeh, I get like 200 who's in the status..

#5046 05/01/03 01:56 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:JOIN:#:{
if ( $nick == $me ) {
set %ial 1
who #
}
}
raw 352:*:{
if ( %ial == 1 ) {
haltdef
}
}
raw 315:*:{
if ( %ial == 1 ) {
set %ial 0
haltdef
}
}

#5047 05/01/03 01:57 PM
Joined: Dec 2002
Posts: 45
P
piko Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 45
hey, thx for your help. laugh laugh laugh laugh

#5048 05/01/03 03:35 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Here is a way to allow for multiple channels.
Code:
on me:*:join:#:set %ial $addtok(%ial,#,32) | who #
raw 352:*:if ($istok(%ial,$2,32)) halt
raw 315:*:if ($istok(%ial,$2,32)) { set %ial = $remtok(%ial,$2,32) | halt }


Link Copied to Clipboard