Difference between revisions of "Limits"

From Scriptwiki
Jump to: navigation, search
m (Updated address limits)
m (Updated address limit)
Line 17: Line 17:
 
<td>'''Joined channel names'''</td><td>255</td><td>Parted immediately</td><td style=text-align:left>Includes channel prefix.</td></tr><tr>
 
<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>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr>
 
<td>'''Channel keys'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr>
<td>'''Addresses'''</td><td>90</td><td>Ignored.</td><td style=text-align:left>Limited by the incoming line limit.</td></tr><tr>
+
<td>'''Addresses'''</td><td>504</td><td>Ignored.</td><td style=text-align:left>Limited by the incoming line limit.</td></tr><tr>
 
<td>'''Nicknames'''</td><td>111</td><td>Truncated</td><td style=text-align:left></td></tr><tr>
 
<td>'''Nicknames'''</td><td>111</td><td>Truncated</td><td style=text-align:left></td></tr><tr>
 
<td>'''Server passwords'''</td><td>50</td><td>Truncated</td><td style=text-align:left><font color=#AA0000>'''(Untested)'''</font> As associated with server entries</td></tr><tr>
 
<td>'''Server passwords'''</td><td>50</td><td>Truncated</td><td style=text-align:left><font color=#AA0000>'''(Untested)'''</font> As associated with server entries</td></tr><tr>

Revision as of 16:29, 6 March 2011

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

NameLengthWhen exceededDescription
Global limits
Line Length Limit
(LLL)
4150Truncated or errorTo be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)
Variables
(local or global)
4150UnsetThis 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:
9007199254740992
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 names255Parted immediatelyIncludes channel prefix.
Channel keys256Truncated
Addresses504Ignored.Limited by the incoming line limit.
Nicknames111Truncated
Server passwords50Truncated(Untested) As associated with server entries
CTCPs
Incoming PING argument506IgnoredLimited by incoming line limit. Leading spaces are stripped.
Sockets
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.
Hashtables
Hashtable name256Truncated
Hashtable size10000ErrorIn number of buckets
GUI
Edit box1024SentEdit box is cleared afterwards, similar to pressing Enter.
Dialogs
Dialog name256Truncated
Input dialog text field1023Truncated
Edit box30000Truncated
Files
Line of text4149SplitExcluding CR/LF. Applies to all file-related commands/identifiers.