From Scriptwiki
Jump to: navigation, search

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

You can find the original limits page here.


NameLengthWhen exceededDescription
Global limits
Line Length Limit
4150Truncated or errorTo be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)
(local or global)
4150TruncatedThis limit includes the variable's name. Example: using "%a" as a name uses 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 reduced.
Note: the /set command further reduces the length limit to 4144 due to the 4 characters used by "set ". (LLL)
CalculationsMax value:
InaccurateCalculations past this number will generally be incorrect. Only the first 15 numbers of the result will be accurately calculated.
IRC server related
Incoming lines511IgnoredExcludes CR/LF.
Outgoing linesLLLTruncated
Joined channel names256Parted immediatelyIncludes channel prefix.
Channel keys256Truncated
Addresses504Ignored.Limited by the incoming line limit.
Server passwords (stored)255TruncatedAs associated with server entries
Server passwords (sent)256TruncatedAs associated with the /server command
Incoming PING argument506IgnoredLimited by incoming line limit. Leading spaces are stripped.
Socket name255Error
Send buffer16384ErrormIRC's own buffers, not WinSock's.
Receive buffer4096Receipt stallsmIRC's own buffers, not WinSock's.
Socket markLLLNot 512 as the helpfile says.
Hashtable name256Truncated
Hashtable size10000ErrorIn number of buckets
Edit box1024SentEdit box is cleared afterwards, similar to pressing Enter.
Dialog name256Truncated
Input dialog text field1023Truncated
Edit box30000Truncated
Line of text4149SplitExcluding CR/LF. Applies to all file-related commands/identifiers.