Difference between revisions of "User:Toady Nakamura/Scrubber Script"
Jump to navigation
Jump to search
m (added one more line) |
m (I will get the hang of this someday, i promise) |
||
Line 1: | Line 1: | ||
The Scrubber Originally by Jopsy Pendragon | The Scrubber Originally by Jopsy Pendragon | ||
*Toadified May 1, 2011 --[[User:Toady Nakamura|Toady Nakamura]] | *Toadified May 1, 2011 --[[User:Toady Nakamura|Toady Nakamura]] | ||
*Resets prim to default states and self-deletes. | *Resets prim to default states and self-deletes. | ||
*Will not remove your original script. | *Will not remove your original script. |
Revision as of 11:10, 14 May 2012
The Scrubber Originally by Jopsy Pendragon
- Toadified May 1, 2011 --Toady Nakamura
- Resets prim to default states and self-deletes.
- Will not remove your original script.
<lsl> default {
state_entry() { llSetSitText(""); llSetTouchText(""); llSetText("",<0,0,0>,1.0); llParticleSystem([]); llStopSound(); llSetTextureAnim(FALSE,ALL_SIDES,1,1,0,0,0.0); llTargetOmega(ZERO_VECTOR,0,0); llSitTarget(ZERO_VECTOR,ZERO_ROTATION); llSetCameraAtOffset(ZERO_VECTOR); llSetCameraEyeOffset(ZERO_VECTOR); llSetPayPrice(PAY_DEFAULT,[PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT]); llStopMoveToTarget(); llStopLookAt(); llVolumeDetect(FALSE); llCollisionFilter("", NULL_KEY, TRUE); llForceMouselook(FALSE); llPassCollisions(TRUE); llPassTouches(TRUE); llRemoveVehicleFlags(-1); llSetVehicleType(VEHICLE_TYPE_NONE); llSetRemoteScriptAccessPin(0); llSetBuoyancy(0.0); llSetForceAndTorque(ZERO_VECTOR,ZERO_VECTOR,FALSE) ; llOwnerSay("Prim Scrubbed Clean... "); llRemoveInventory( llGetScriptName() ); // vanish without a trace... }
} </lsl>