Limits
From Scriptwiki
Warning: These values may be outdated for mIRC v6.32. Updated and confirmed sections are marked with (Updated)
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, including spaces.)
You can find the original limits page here.
mIRC
Name | Length | When exceeded | Description |
Global limits (Updated) | |||
Line Length Limit (LLL) | 4150 | Truncated or error | To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.) |
Variables (local or global) | 4150 | Unset | This 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 9144 due to the 4 characters used by "set ". (LLL) |
IRC server specific | |||
Incoming lines | 601 | Truncated | Excludes CR/LF. |
Outgoing lines | LLL | Truncated | (Updated) |
Joined channel names | 255 | Parted immediately | (Updated) Includes channel prefix. |
Channel keys | 90 | Truncated | |
Addresses | 90 | Truncated | The part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated. |
Nicknames | 50 | Truncated | |
Server passwords | 50 | Truncated | As associated with server entries |
CTCPs | |||
Incoming PING argument | 24 | No reply sent | First character must be a digit; leading spaces ignored. |
Sockets | |||
Socket name | 255 | Error | (Updated) |
Send buffer | 16384 | Error | mIRC's own buffers, not WinSock's. |
Receive buffer | 4096 | Receipt stalls | mIRC's own buffers, not WinSock's. |
Socket mark | LLL | (Updated) Not 512 as the helpfile says. | |
Hashtables (Updated) | |||
Hashtable name | 256 | Truncated | |
Hashtable size | 10000 | Error | In number of buckets |
GUI (Updated) | |||
Editbox | 1024 | Sent | Editbox is cleared afterwards, similar to pressing Enter. |
Dialogs (Updated) | |||
Dialog name | 256 | Truncated | |
Input dialog text field | 1023 | Truncated | |
Files (Updated) | |||
Line of text | 4149 | Split | Excluding CR/LF. Applies to all file-related commands/identifiers. |