Difference between revisions of "User talk:Nelson Porthos"

From Second Life Wiki
Jump to navigation Jump to search
m (Created page with ' == Simple script to send a simple e-mails via Second life == default { state_entry() { llListen( 1, "", NULL_KEY, "" ); llListen( 2, "", NULL_KEY, "" );...')
 
 
Line 1: Line 1:


== Simple script to send a simple e-mails via Second life ==
default
{
    state_entry()
    {
        llListen( 1, "", NULL_KEY, "" );
        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][http://http://lslwiki.net/lslwiki/wakka.php?wakka=email](emailadress,Subject,Body);
       
    }
}

Latest revision as of 03:50, 1 May 2010