Command: *goodbye:

Command: *goodbye:
An ORIX Device should send this command to indicate that it is no longer connected to or interested in any Cores receiving it. It is required to send this message, if possible, to any Core to which it has previously sent *announce:, *register:, and/or *login:. However, it may send it to any Core, even one it has never previously communicated with. For example, a Device may llSay("*goodbye:") in its default state_entry and/or on_rez methods in case a nearby Core was communicating with it before it reset.

Usable in: Commands

Parameters

 * reason
 * Default parameter. If present, communicates a brief reason for disconnecting, such as "Device reset" or "Operator request".


 * sound
 * Specifies the key of a sound that the Core may (but need not) play to alert the unit to the disconnection. Default value: none


 * alert
 * If 1, notifies the Core that the unit should be alerted that the device has disconnected. If 0, notifies the Core that the unit should be alerted of the disconnection ONLY if, and in ways that, it had previously notified the unit of the connection. If unspecified, the Core may decide how to handle it.

Expected Action by Core
The Core may use this information to release resources reserved for it. It may also notify the unit of the disconnection, although it is not required to do so (if, for example, the unit is shut down or otherwise unable to notice events that it normally would notice). If "alert":0, the Core may notify the unit of the disconnection ONLY in ways that it has already notified it of the connection. For example, if it posted an icon (e.g. from an *announce: command) it should turn off that icon, but should not llOwnerSay.

Response(s) Expected
None

Examples
*goodbye: *goodbye:Device reset *goodbye:{"reason":"Device reset", "alert":1}

Implementation Details: ACS
Minimum Level:

Other constraints: