LlGetNextEmail

From Second Life Wiki

(Redirected from LSL llGetNextEmail)
Jump to: navigation, search

Contents

Description

Function: llGetNextEmail( string address, string subject );
120 Function ID
0.0 Delay
10.0 Energy

Get the next waiting email with appropriate sender address and/or subject (if blank they are ignored)

• string address
• string subject

Examples

 
default {
    state_entry() {
        llSetTimerEvent(1); //Don't go much lower than this...
    }
 
    timer() {
        llGetNextEmail("", ""); //Check for emails
    }
 
    email(string time, string address, string subj, string message, integer num_left) {
 
         llOwnerSay("I got an email: " + subj + "\n" + message);
 
    }
}
 

See Also

Events

•  email

Functions

•  llEmail
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools