Difference between revisions of "Logoff"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Event
{{LSL_Event
|event_id
|mode=request
|func_sleep
|func_energy
|event=ignored
|p1_type=key|p1_name=id|p1_desc=The agent that clicked the ignore button.
|p2_type=integer|p2_name=channel|p2_desc=The channel on which the dialog was opened


|event_desc= ignored() Sent as a result of the user clicking ignored in a dialog
|return_text


|spec=Currently there is no way to tell if a logs off from Second Life other than a CONSTANT online status check. This impedes the ability of external data services that serve other users as well
|spec=Currently there is no way to tell if a logs off from Second Life other than a CONSTANT online status check. This impedes the ability of external data services that serve other users as well

Revision as of 14:57, 16 May 2010

Emblem-important-yellow.png LSL Feature Request
The described event does not exist. This article is a feature request.

Description

Event: ignored( key id, integer channel ){ ; }

ignored() Sent as a result of the user clicking ignored in a dialog

• key id The agent that clicked the ignore button.
• integer channel The channel on which the dialog was opened

Specification

Currently there is no way to tell if a logs off from Second Life other than a CONSTANT online status check. This impedes the ability of external data services that serve other users as well

Caveats

This function would require another few seconds to execute before the client shuts down in order to execute.


Examples

<lsl> default {

       on_rez(integer start_param)
       {
               llResetScript();
       }
       state_entry()
       {
               llHTTPRequest("http://www.example.com/online.php?key="+(string)llGetOwner()+"&online=TRUE",[],"");
       }
       logoff()
       {
               llHTTPRequest("http://www.example.com/online.php?key="+(string)llGetOwner()+"&online=FALSE",[],"");
       }

} </lsl>

Deep Notes

Signature