Difference between revisions of "Limits"
From Scriptwiki
m (Dialog edit boxes have a limit of 30,000 characters) |
m (IRC server related) |
||
Line 11: | Line 11: | ||
<td>'''Line Length Limit'''<br>(''LLL'')</td><td>4150</td><td>Truncated or error<td style=text-align:left>To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)</td></tr><tr> | <td>'''Line Length Limit'''<br>(''LLL'')</td><td>4150</td><td>Truncated or error<td style=text-align:left>To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)</td></tr><tr> | ||
<td>'''Variables'''<br>(local or global)</td><td>4150</td><td>Unset</td><td style=text-align:left>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.)<br>This means that for every extra character in the variable name, the maximum length of the value is reduced.<br>'''Note:''' the /set command further reduces the length limit to 4144 due to the 4 characters used by "set ". (LLL)</td></tr><tr> | <td>'''Variables'''<br>(local or global)</td><td>4150</td><td>Unset</td><td style=text-align:left>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.)<br>This means that for every extra character in the variable name, the maximum length of the value is reduced.<br>'''Note:''' the /set command further reduces the length limit to 4144 due to the 4 characters used by "set ". (LLL)</td></tr><tr> | ||
− | <td colspan=0>'''IRC server | + | <td colspan=0>'''IRC server related'''</td></tr><tr> |
<td>'''Incoming lines'''</td><td>601</td><td>Truncated</td><td style=text-align:left><font color=#AA0000>'''(Untested)'''</font> Excludes CR/LF.</td></tr><tr> | <td>'''Incoming lines'''</td><td>601</td><td>Truncated</td><td style=text-align:left><font color=#AA0000>'''(Untested)'''</font> Excludes CR/LF.</td></tr><tr> | ||
<td>'''Outgoing lines'''</td><td>LLL</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | <td>'''Outgoing lines'''</td><td>LLL</td><td>Truncated</td><td style=text-align:left></td></tr><tr> |
Revision as of 17:22, 4 July 2009
Warning: Not all of these values are updated for mIRC v6.32 and above. Sections which remain to be confirmed are marked with (Untested)
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 | |||
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 4144 due to the 4 characters used by "set ". (LLL) |
IRC server related | |||
Incoming lines | 601 | Truncated | (Untested) Excludes CR/LF. |
Outgoing lines | LLL | Truncated | |
Joined channel names | 255 | Parted immediately | Includes channel prefix. |
Channel keys | 256 | Truncated | |
Addresses | 90 | Truncated | (Untested) The part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated. |
Nicknames | 50 | Truncated | (Untested) |
Server passwords | 50 | Truncated | (Untested) As associated with server entries |
CTCPs | |||
Incoming PING argument | 24 | No reply sent | (Untested) First character must be a digit; leading spaces ignored. |
Sockets | |||
Socket name | 255 | Error | |
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 | Not 512 as the helpfile says. | |
Hashtables | |||
Hashtable name | 256 | Truncated | |
Hashtable size | 10000 | Error | In number of buckets |
GUI | |||
Edit box | 1024 | Sent | Edit box is cleared afterwards, similar to pressing Enter. |
Dialogs | |||
Dialog name | 256 | Truncated | |
Input dialog text field | 1023 | Truncated | |
Edit box | 30000 | Truncated | |
Files | |||
Line of text | 4149 | Split | Excluding CR/LF. Applies to all file-related commands/identifiers. |