mIRC Home    About    Download    Register    News    Help

Page 2 of 2 < 1 2
Topic Options
#263508 - 13/08/18 04:26 PM Re: Missing Documentation [Re: Khaled]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3494
Loc: France
$window().cx $window().cy, $mouse.cx and $mouse.cy are missing from the help file.
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#264586 - 16/12/18 11:49 PM Re: Missing Documentation [Re: Wims]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 1139
7.52's /fupdate and 7.53's $caller not documented in /help

also, if the /fupdate setting isn't going to be saved to mirc.ini [options], could there be something like an $fupdate identifier which returns the 0-100 value shown by /fupdate? This would allow scripts to save/restore the existing value, so they could change it during a specific burst of output.

Top
#265048 - 21/02/19 06:59 AM Re: Missing Documentation [Re: maroon]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 1139
/help /dll says:

Quote:

Note: The data and parms variables can each hold 900 chars maximum.


Could the dll page be updated from '900 chars' to indicate the current max limit in bytes, now that Unicode means chars and bytes aren't the same thing?

Most DLL's won't care as long as the length is longer than 8292, but the info would be useful for a DLL which needs to support languages from the unicode codepoints above 2047 where each 'char' requires 3 bytes.

I've only tested 'data but not 'parms', but 900 appears to be an obsolete number from older 6.x versions which had that shorter line length. I tested to see how long of a text string of hex digits could be written into 'data' for sending back to mIRC, before it crashes mIRC. The byte length in 6.35 seems to be a few dozen bytes longer than than the 4150 limit. In 7.52 the byte length limit was somewhere around 8400 bytes, I'm assuming this extra length is for supporting multi-byte unicode characters. And now that the line length limit has doubled, the valid string bytes-length has doubled above 16k.

Top
Page 2 of 2 < 1 2