Difference between revisions of "Category:LSL Username"

From Second Life Wiki
Jump to navigation Jump to search
m (Created page with '{{LSL Header}}{{LSLC|}}{{LSLC|Avatar/Name}}')
 
m (LSL format)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL Header}}{{LSLC|}}{{LSLC|Avatar/Name}}
{{LSL Header}}{{LSLC|}}{{LSLC|Avatar/Name}}
A user's username depends upon what type of account it is:
{| {{Prettytable}}
|- {{Hl2}}
!Type
!Format
|-
| Legacy
| "firstname.lastname"
|-
| Modern
| "firstname"
|}
<source lang="lsl2">string LegacyToUsername(string legacy)
{
    return llDumpList2String(llParseString2List(llToLower(legacy)+" ", [" resident ", " "],[]), ".");
}</source>
See {{LSLGC|Avatar/Name}} for more details.

Latest revision as of 12:12, 5 July 2015

A user's username depends upon what type of account it is:

Type Format
Legacy "firstname.lastname"
Modern "firstname"
string LegacyToUsername(string legacy)
{
    return llDumpList2String(llParseString2List(llToLower(legacy)+" ", [" resident ", " "],[]), ".");
}

See Avatar/Name for more details.

Subcategories

This category has only the following subcategory.

Pages in category "LSL Username"

The following 3 pages are in this category, out of 3 total.