Difference between revisions of "Limits"

From Scriptwiki
Jump to: navigation, search
m (update for channel keys limit)
m (Sockets verified)
Line 21: Line 21:
 
<td colspan=0>'''CTCPs'''</td></tr><tr>
 
<td colspan=0>'''CTCPs'''</td></tr><tr>
 
<td>'''Incoming PING argument'''</td><td>24</td><td>No reply sent</td><td style=text-align:left>First character must be a digit; leading spaces ignored.</td></tr><tr>
 
<td>'''Incoming PING argument'''</td><td>24</td><td>No reply sent</td><td style=text-align:left>First character must be a digit; leading spaces ignored.</td></tr><tr>
<td colspan=0>'''Sockets'''</td></tr><tr>
+
<td colspan=0>'''Sockets <font color=#00AA00>(Updated)</font>'''</td></tr><tr>
<td>'''Socket name'''</td><td>255</td><td>Error</td><td style=text-align:left><font color=#00AA00>'''(Updated)'''</font></td></tr><tr>
+
<td>'''Socket name'''</td><td>255</td><td>Error</td><td style=text-align:left></td></tr><tr>
 
<td>'''Send buffer'''</td><td>16384</td><td>Error</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr>
 
<td>'''Send buffer'''</td><td>16384</td><td>Error</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr>
 
<td>'''Receive buffer'''</td><td>4096</td><td>Receipt stalls</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr>
 
<td>'''Receive buffer'''</td><td>4096</td><td>Receipt stalls</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr>
<td>'''Socket mark'''</td><td>LLL</td><td></td><td style=text-align:left><font color=#00AA00>'''(Updated)'''</font> Not 512 as the helpfile says.</td></tr><tr>
+
<td>'''Socket mark'''</td><td>LLL</td><td></td><td style=text-align:left>Not 512 as the helpfile says.</td></tr><tr>
 
<td colspan=0>'''Hashtables <font color=#00AA00>(Updated)</font>'''</td></tr><tr>
 
<td colspan=0>'''Hashtables <font color=#00AA00>(Updated)</font>'''</td></tr><tr>
 
<td>'''Hashtable name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr>
 
<td>'''Hashtable name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr>

Revision as of 17:13, 26 September 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, including spaces.)

You can find the original limits page here.

mIRC

NameLengthWhen exceededDescription
Global limits (Updated)
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 9144 due to the 4 characters used by "set ". (LLL)
IRC server specific
Incoming lines601TruncatedExcludes CR/LF.
Outgoing linesLLLTruncated(Updated)
Joined channel names255Parted immediately(Updated) Includes channel prefix.
Channel keys256Truncated(Updated)
Addresses90TruncatedThe part of the full address after the "!"; only with JOIN/QUIT messages, addresses from WHO replies are not truncated.
Nicknames50Truncated
Server passwords50TruncatedAs associated with server entries
CTCPs
Incoming PING argument24No reply sentFirst character must be a digit; leading spaces ignored.
Sockets (Updated)
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 (Updated)
Hashtable name256Truncated
Hashtable size10000ErrorIn number of buckets
GUI (Updated)
Editbox1024SentEditbox is cleared afterwards, similar to pressing Enter.
Dialogs (Updated)
Dialog name256Truncated
Input dialog text field1023Truncated
Files (Updated)
Line of text4149SplitExcluding CR/LF. Applies to all file-related commands/identifiers.