Difference between revisions of "LSL llEmail"
Jump to navigation
Jump to search
Gigs Taggart (talk | contribs) (note) |
|||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|func_id=119|func_sleep=20.0|func_energy=10.0 | |func_id=119|func_sleep=20.0|func_energy=10.0 | ||
|sort=Email | |sort=Email|func=llEmail | ||
|func=llEmail|p1_type=string|p1_name=address|p2_type=string|p2_name=subject|p3_type=string|p3_name=message | |p1_type=string|p1_name=address | ||
|p2_type=string|p2_name=subject | |||
|p3_type=string|p3_name=message | |||
|func_footnote | |func_footnote | ||
|func_desc=Sends email to address with subject and message | |func_desc=Sends an email to '''address''' with '''subject''' and '''message'''. | ||
|return_text | |return_text | ||
|spec | |spec=The message is prefixed with information about the prim sending the email. | ||
<pre> | |||
Object-Name: *prim* | |||
Region: *simname* (*simpos.x*, *simpos.y*) | |||
Local-Position: (*primpos.x*, *primpos.y*, *primpos.z*) | |||
*message* | |||
</pre> | |||
|caveats = There is a limit to the number of email messages an object can send in a given amount of time. | |caveats = There is a limit to the number of email messages an object can send in a given amount of time. | ||
|constants | |constants | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions | |also_functions=*{{LSLG|llMessageLinked}} | ||
|also_events | |also_events*{{LSLG|link message}} | ||
|also_tests=*[[llEmail]] | |also_tests=*[[llEmail]] | ||
|also_articles | |also_articles | ||
|notes=Because of the long delay on this function, it is often called from a second script triggered by link | |notes=Because of the long delay on this function, it is often called from a second script triggered by {{LSLG|link message}}. | ||
|permission | |permission | ||
|negative_index | |negative_index | ||
Line 21: | Line 30: | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 17:08, 11 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llEmail( string address, string subject, string message );20.0 | Forced Delay |
10.0 | Energy |
Sends an email to address with subject and message.
• string | address | |||
• string | subject | |||
• string | message |
Specification
The message is prefixed with information about the prim sending the email.
Object-Name: *prim* Region: *simname* (*simpos.x*, *simpos.y*) Local-Position: (*primpos.x*, *primpos.y*, *primpos.z*) *message*
Caveats
- This function causes the script to sleep for 20.0 seconds.There is a limit to the number of email messages an object can send in a given amount of time.
Examples
Notes
Because of the long delay on this function, it is often called from a second script triggered by link message.