Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > createUniqueName

 

createUniqueName

Syntax

system.group.createUniqueName

Description

Multiuser Server command; obtains the name of an unused group from the server. This group name is unique and not previously used in the movie.

Example

The following statement has the server respond with a message that has the same subject. An error code of 0 means that the operation was successful. The contents contain a string that can be used as a group name.

errCode = gMultiuserInstance.sendNetMessage("system.group.createUniqueName", "anySubject")

The server's response looks like this:

[#errorCode: 0, #recipients: ["userName"], #senderID: "system.group.createUniqueName", #subject: "anySubject", #content: "@RndGroup0", #timeStamp: 34653020]

See also

sendNetMessage()