mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
I want to add an item in the nicklist on the right of a mIRC chat window, is this possible?
I want to add the number of persons online in that channel, I know how to get this number, it's with $nick(#,0).
The problem is I don't know how to list it after the nicks, even not if it is possible.
If it is not possible from within mIRC, maybe there's a dll?

Last edited by LethPhaos; 19/02/05 07:03 PM.
Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
it's been me understanding mirc does what you are asking already.. but in the title of the window at the top..
should look somthing like: #test [# of users]: topic..

unless i'm misunderstanding you..

Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
indeed, thats the number of users in tha channel too, but I want it to show up in the listbar of nicks on the right of the text that people say.
I want to add a little few words, under the nicks of the people on the chan.
Is this more clear?

Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
If no-one can help me I suppose it's impossible?

Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hmmmm.......
indeed, you need to a lil patient i think wink. there are many good scripters here that may be of assistance to you if you give them a chance.. but for now perhaps, you can try somthing like this:
Code:
alias -l user_count {
        %ucount = [ $+ $nick(#,0,a) $+ ]
        ;this line sets the count of all users surrounded in brackets as a variable
        aline -l $active %ucount
       ;this line adds the user number to the listbox of the active window 
       }  


please note this was not tested , but should put you on the right track.

-EDIT-
possible usage :
Code:
raw 366:*: { user_count }  

the raw 366 code, is the the /end_of_names list . meaning it would trigger when mirc recieves this raw #

(someone please correct me if i'm incorrect on this)

Last edited by clutz1572; 20/02/05 02:27 AM.
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I think no one likely answered with "you cant" incase someone else happened to know a method.

So ill answer, and take a chance on being proven wrong....

You cant do it.

PS: you cant aline to a channel window.
/aline -l $active anythinghere
* /aline: invalid parameters

Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hey!, it was a shot in the dark... lol grin

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I must admit I wasnt sure myself, so I tried it frown, tried a few others like filter loadbuf nothing seemed to work.

Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Thanx for the help guys smile


Link Copied to Clipboard