SL for Nowt

Living a digital life with empty pockets

Useful stuff: the ‘scrubber’ script

One of the most useful scripts you can have in your inventory is a scrubber script. This is a script that will remove all effects from any prim that it’s dropped into, from particles (including bling) to hovering text and texture animations. You might notice that, even if you remove the original scripts that created these effects, the effects still linger. A scrubber script will remove all of them.

Hop behind the cut for a scrubber script you can make yourself!

First of all, open your inventory and choose Create >New Script. You’ll see a new script pop up in your Scripts folder, waiting for you to give it a name. Call it Scrubber, and double-click it to open it.

The basic new script has some text in it, which we don’t want, so highlight all of that and delete it. Then, paste into the script the following text:

default
{
    state_entry()
    {
        llSetText("", <1,1,1>, 1.5);
        llSetTextureAnim(FALSE, ALL_SIDES,0,0,0.0, 1,0.3);
        llParticleSystem([]);
     }
}

If you find this text hard to read or select (I’m afraid WordPress makes preformatted text very small) then visit my Useful Scripts page, where it should be much easier for you to copy the text.

Click the ‘Save’ button and close the script window. You can now put this script into any modifiable prim to remove any lingering effects. Remember that things like bling scripts can be in several prims in one piece of jewellery, so if the bling doesn’t vanish immediately, check all the prims!

If you want to pass this script on to a friend, remember to right-click the script in your inventory and check the permissions. All scripts are created No Modify and No Copy by default, so your friend would not be able to use it unless you checked those buttons.

About these ads

November 27, 2010 - Posted by | scripts, second life

1 Comment »

  1. [...] SL for Nowt [...]

    Pingback by Linkdump: November 25th – November 27th | November 28, 2010 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: