Simple
Revision as of 03:33, 1 May 2010 by Nelson Porthos (talk | contribs) (Simple e-mail sender via Second Life)
Simple E-mail sender Via Second life
With this simple script it´s possible send a e-mail from Second Life.
<lsl>
default {
state_entry() { llListen( 1, "", NULL_KEY, "" ); // differents chats for differents option (adress,subject, body) llListen( 2, "", NULL_KEY, "" ); llListen( 3, "", NULL_KEY, "" ); } touch_start(integer total_number) { llOwnerSay("/1 to adress!"); llOwnerSay("/2 to subject!"); llOwnerSay("/3 to message!"); } listen( integer channel, string name, key id, string message ) { string emailadress; string Subject; string Body; if(channel ==1) { emailadress = message; } if(channel ==2) { Subject = message; } if(channel ==3) { Body = message; } [llEmail][1](emailadress,Subject,Body); // Send the e-mail. }
}
</lsl>
Really simple.