mIRC Homepage
Posted By: PuffGirl Erroneous $fserv definition - 22/11/05 04:24 PM
On the help file, i found this information that i think it's erroneous.

$fserv(N/nick,[N])
Returns the name of the Nth open dcc chat window.

Well, this is the same information given for $chat(N/nick,[N])
Posted By: Mentality Re: Erroneous $fserv definition - 22/11/05 06:23 PM
No it doesn't.

You can test this on yourself by simply using /dcc chat your-nick. Then just use //echo -a $chat(0) and //echo -a $fserv(0). $chat returns 2. $fserv returns 0. Fserver DCC chat windows are executed with the /fserve command.

There is a difference between DCC chat windows and Fserver windows, they just look very similar.

Regards,
Posted By: Collective Re: Erroneous $fserv definition - 22/11/05 08:48 PM
That's the point I think. The help file says $fserv gives info about DCC Chat windows when it doesn't.
Posted By: Mentality Re: Erroneous $fserv definition - 22/11/05 09:24 PM
Oh, yes, perhaps I should read more thoroughly.

They are both DCC chat windows effectively (though as demonstrated above perceived differently in the functions of those identifiers), but the language too should differentiate between them.

Agreed, change the help file! grin

Regards,
© mIRC Discussion Forums