mIRC Home    About    Download    Register    News    Help

Print Thread
#56742 22/10/03 01:44 PM
Joined: Aug 2003
Posts: 9
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Aug 2003
Posts: 9
hi,

i got a problem, if i type "//echo -a $nick(#night, 0)" its show me the current users on the chan, but if I join(script(echo -a $nick($chan, 0)), it shows "1"....i have to know what the user count is if i join, how can i make it?

Last edited by Silentx2000; 22/10/03 01:45 PM.
#56743 22/10/03 01:50 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
This works for me:
Code:
on me:*:JOIN:#:{
  set %uc. $+ # 1
}
raw 353:*:{
  if ( $eval(% $+ uc. $+ $3,2) ) {
    echo -a $nick($3,0)
    unset %uc. $+ $3
  }
}

#56744 22/10/03 01:51 PM
Joined: Sep 2003
Posts: 584
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
.Count Users:{
/echo -a   
/echo -a $timestamps There are $nick(#,0) user(s) in $chan at the moment.
/echo -a  
}

put this in your popups on channel section or simply
put it in aliases and

on join command execute it

#56745 22/10/03 01:52 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
When on JOIN triggers mIRC hasn't got the names list yet.

#56746 22/10/03 01:53 PM
Joined: Aug 2003
Posts: 9
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Aug 2003
Posts: 9
thank you guys smile

was it already in mirc 6.03 so? i cant remember, but my scripts always worked there


Link Copied to Clipboard