Difference between revisions of "Limits"
From Scriptwiki
(A handy mIRC limits list, with thanks to Saturn. :)) |
m (LLL, vars, chans) |
||
Line 1: | Line 1: | ||
+ | <font color=#FF0000>'''Warning: These values may be outdated for mIRC v6.32. Updated and confirmed sections are marked with </font><font color=#00AA00>(Updated)'''</font> | ||
+ | |||
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.) | 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.) | ||
Line 7: | Line 9: | ||
<table border=2 rules=all cellpadding=4 style=text-align:center><tr> | <table border=2 rules=all cellpadding=4 style=text-align:center><tr> | ||
<td>'''Name'''</td><td>'''Length'''</td><td>'''When exceeded'''</td><td>'''Description'''</td></tr><tr> | <td>'''Name'''</td><td>'''Length'''</td><td>'''When exceeded'''</td><td>'''Description'''</td></tr><tr> | ||
− | <td colspan=0>'''Global limits'''</td></tr><tr> | + | <td colspan=0>'''Global limits <font color=#00AA00>(Updated)</font>'''</td></tr><tr> |
− | <td>'''Line Length Limit'''<br>(''LLL'')</td><td> | + | <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> | + | <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 9144 due to the 4 characters used by "set ". (LLL) ''[Credit: [[User:Daveoh|Daveoh]]]''</td></tr><tr> |
<td colspan=0>'''IRC server specific'''</td></tr><tr> | <td colspan=0>'''IRC server specific'''</td></tr><tr> | ||
<td>'''Incoming lines'''</td><td>601</td><td>Truncated</td><td style=text-align:left>Excludes CR/LF.</td></tr><tr> | <td>'''Incoming lines'''</td><td>601</td><td>Truncated</td><td style=text-align:left>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> | ||
− | <td>'''Joined channel names'''</td><td> | + | <td>'''Joined channel names'''</td><td>255</td><td>Parted immediately</td><td style=text-align:left>Includes channel prefix.</td></tr><tr> |
<td>'''Channel keys'''</td><td>90</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | <td>'''Channel keys'''</td><td>90</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | ||
<td>'''Addresses'''</td><td>90</td><td>Truncated</td><td style=text-align:left>The part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated.</td></tr><tr> | <td>'''Addresses'''</td><td>90</td><td>Truncated</td><td style=text-align:left>The part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated.</td></tr><tr> |
Revision as of 12:30, 22 May 2008
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, includes spaces.)
Credit for this information goes to Saturn unless otherwise specified.
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) [Credit: Daveoh] |
IRC server specific | |||
Incoming lines | 601 | Truncated | Excludes CR/LF. |
Outgoing lines | LLL | Truncated | |
Joined channel names | 255 | Parted immediately | 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 | 90 | 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 | 90 | Truncated | |
Hashtable size | 10000 | Error | In number of buckets |
GUI | |||
Editbox | LLL-1 | Sent | Editbox is cleared afterwards, similar to pressing Enter. |
Dialogs | |||
Dialog name | 90 | Truncated | |
Files | |||
Line of text | 998 | Split | Excluding CR/LF. Applies to all file-related commands/identifiers. [Credit: qwerty] |