Limits

From Scriptwiki
Revision as of 00:19, 16 April 2008 by Daveoh (talk | contribs) (A handy mIRC limits list, with thanks to Saturn. :))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page explains various limits imposed by mIRC, however this may not be a complete list. The length is measured in bytes (equivalent to ASCII characters, includes spaces.)

Credit for this information goes to Saturn unless otherwise specified.

You can find the original limits page here.

mIRC

NameLengthWhen exceededDescription
Global limits
Line Length Limit
(LLL)
949Truncated or errorTo be precise: 949 for evaluation results, 950 for command lines (excluding command prefixes.)
Variables
(local or global)
949UnsetThis limit includes the variable's name. Example: using "%a" as a name loses 3 bytes (2 for the name and 1 for a space.)
This means that for every extra character in the variable name, the maximum length of the value is also reduced.
Note: the /set command further reduces the length limit to 946 due to the 4 characters used by "set ". (LLL) [Credit: Daveoh]
IRC server specific
Incoming lines601TruncatedExcludes CR/LF.
Outgoing linesLLLTruncated
Joined channel names90Parted immediatelyIncludes channel prefix.
Channel keys90Truncated
Addresses90TruncatedThe part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated.
Nicknames50Truncated
Server passwords50TruncatedAs associated with server entries
CTCPs
Incoming PING argument24No reply sentFirst character must be a digit; leading spaces ignored.
Sockets
Socket name90Error
Send buffer16384ErrormIRC's own buffers, not WinSock's.
Receive buffer4096Receipt stallsmIRC's own buffers, not WinSock's.
Socket markLLLNot 512 as the helpfile says.
Hashtables
Hashtable name90Truncated
Hashtable size10000ErrorIn number of buckets
GUI
EditboxLLL-1SentEditbox is cleared afterwards, similar to pressing Enter.
Dialogs
Dialog name90Truncated
Files
Line of text998SplitExcluding CR/LF. Applies to all file-related commands/identifiers. [Credit: qwerty]