|
| Author |
Message |
draget Not Yet a God

Joined: 29 Dec 2004 Posts: 367 Location: Australia
   
|
Posted: Fri Feb 11, 2005 11:26 am Post subject: |
|
|
What is the maximum length for a nickname in msn.pm 2?
Thanks, |
|
| Back to top |
|
 |
..::BIGmouth( )::.. God Like

Joined: 05 Feb 2004 Posts: 801
    
|
Posted: Fri Feb 11, 2005 12:42 pm Post subject: |
|
|
There is none, but there is msnproto length. or make your own in a command..
eg.
| Code: | | sub command {<br />my ($self, $msg, $username) = @_;<br /><br />if (length($msg) <= 105) {<br />$self->set_name($msg);<br />} else {<br />return "The length is too long.";<br />}<br />} |
|
|
| Back to top |
|
 |
draget Not Yet a God

Joined: 29 Dec 2004 Posts: 367 Location: Australia
   
|
Posted: Fri Feb 11, 2005 12:44 pm Post subject: |
|
|
| aaaah 105 ( i had put into mine 128) |
|
| Back to top |
|
 |
Siebe God Like

Joined: 06 Jan 2004 Posts: 562 Location: Netherlands
    
|
Posted: Sat Feb 12, 2005 3:02 am Post subject: |
|
|
| Quote: | | As in the ADD command, if the nickname you assign is longer than 387 bytes (as of March 29, 2003), you will be immediately disconnected. However, the official client will not allow principals to set names to more than 129 characters (a three-byte URL-encoded character counts as one character) and will not properly display names with more than 129 characters. If you try to rename a principal that is not in any of your lists, you will receive error 216. This even applies if the account name is an invalid email address. |
|
|
| Back to top |
|
 |
..::BIGmouth( )::.. God Like

Joined: 05 Feb 2004 Posts: 801
    
|
Posted: Sat Feb 12, 2005 4:57 am Post subject: |
|
|
Yep what Siebe said.  I just put a random number for the length. |
|
| Back to top |
|
 |
|