Gayngel

Group joiner on rez with self-delete

Sep 30th, 2021 (edited)
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. key group_key = "4921b4f0-c21e-7866-c0c2-791d10bb5502"; // replace with the key of your group. You can get your group key by opening the group's profile and finding it under the group's name.
  2.  
  3. default
  4. {
  5.  
  6.    on_rez(integer star_param)
  7.   {
  8.      llResetScript();
  9.    
  10.   }
  11.  
  12. state_entry()
  13. {
  14.  
  15. llSay(0,"Click this link to join our group:  secondlife://app/group/" + (string)group_key + "/about");
  16. llSetTimerEvent(0.0);
  17. llSetTimerEvent(600.0);
  18.  
  19. }
  20.  
  21. touch_end(integer num)
  22. {
  23.  
  24. llSay(0,"Click this link to join our group:  secondlife://app/group/" + (string)group_key + "/about");
  25.  
  26. }
  27.  
  28. timer()
  29. {
  30. llRemoveInventory(llGetScriptName());
  31.  
  32. }
  33.  
  34.  
  35. }
Add Comment
Please, Sign In to add comment