mIRC Home    About    Download    Register    News    Help

Print Thread
#116139 02/04/05 04:02 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on me:*:JOIN:#: { .enable #stats }

#stats on
echo -a $nick (#,0,v)
#stats end


any help?


mess with the best
#116140 02/04/05 04:53 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
raw 366:*: echo $2 Voices: $nick($2,0,v)


Gone.
#116141 02/04/05 06:27 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
is the group actually nessesary? because you could just do somthing like this also:
Code:
On me:JOIN:#: { echo -a $nick(#,0,v) }
  



but what fiber suggested might be better..

#116142 03/04/05 12:01 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Did you try the code you posted? I'm guessing no because that wont work it needs to be done with a Raw as Dieter said..

And we've chose Raw 366 because that is End of /Names List, so we know we can now use $nick() to retrieve our nickname data.

And $2 represents the channel name.

So, $nick($2,0,v).

Your example wont work because

  • You're missing on me:*:Join:#: {
  • And also, as soon as you join your trying to echo data that hasn't even come through yet.


Quote:

but what fiber suggested might be better..


It is better his code works. grin

-Andy

#116143 03/04/05 03:28 AM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
DUH!, yeah your right i forgot the fact that you can't get any $nick info untill the end of the names list is recieved(hense the use of the raw).. sorry for the misleading info btw

Quote:
It is better his code works.


well, i wasn't wrong then was i ? :tongue:

#116144 03/04/05 03:33 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I'll give you your dues you was right about that but when it's regarding Dieter when are his posts ever insuficient? You can just anticipate it before he actually posts. :tongue:


Link Copied to Clipboard