Advertisement
LethBaumann

Untitled

Jun 11th, 2022
1,949
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //REMOTE SCRIPT (CLICKER)
  2. default
  3. {
  4.     state_entry()
  5.     {
  6.        
  7.     }
  8.  
  9.     touch_start(integer total_number)
  10.     {
  11.         llEmail( "423e9488-c92d-a6c6-ecef-bfbe84a63da2@lsl.secondlife.com", llDetectedKey(0), "" ); //UUID from from server box
  12.     }
  13. }
  14.  
  15.  
  16. //SERVER SCRIPT (GIVER)
  17. default
  18. {
  19.     state_entry()
  20.     {
  21.         llSetTimerEvent(5.0);
  22.     }
  23.  
  24.     timer()
  25.     {
  26.         llGetNextEmail("", "");
  27.     }
  28.  
  29.     email( string time, string address, string subject, string message, integer num_left )
  30.     {    
  31.         if (subject != "")
  32.         {
  33.              llGiveInventory( subject, "Notecard Name" );
  34.         }
  35.  
  36.         if(num_left)
  37.             llGetNextEmail("","");
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement