Removes listen event callback handle

Syntax

void llListenRemove( integer handle );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer handle (handle)
handle to control listen event

Caveats

Examples

// Listen for one line of chat from the owner, echo it back to them, then stop listening
integer ListenHandle;
default
{
    state_entry()
    {
        // Start listening on channel 0, for text from owner only
        ListenHandle = llListen(0, "", llGetOwner(), "");
    }
    listen(integer channel, string name, key id, string message)
    {
        llOwnerSay(message);            // Echo the message back to the owner
        llListenRemove(ListenHandle);   // Stop listening
    }
}

Notes

See also

Events

Functions