Advertisement
Edie_Shoreland

Linkset Description eraser.

May 17th, 2025 (edited)
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //This script is a quick way to erase all information in the description field.
  2. //There may not be a lot of times when you need a script like this to wipe out all
  3. //descriptions for the prims in a linkset, but here's a way to do it when you need
  4. //it.
  5. //You may want to run the "Prim number in linkset description" script after using
  6. //this one.
  7.  
  8. default
  9. {
  10.     state_entry()
  11.     {
  12.         integer prims = llGetObjectPrimCount(llGetKey());
  13.  
  14.         while (prims > 0)
  15.         {
  16.             llSetLinkPrimitiveParamsFast (prims, [28,""]);
  17.             prims--;
  18.         }
  19.  
  20.         llSay (0, "All done");
  21.  
  22.     }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement