Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRemoveInventory question (remove all of one type?)

Ipenda Keynes
Registered User
Join date: 14 Apr 2006
Posts: 12
09-02-2006 09:04
From the Wiki, it says it removes the object whose name appears in the function.
How can I script it so it removes ALL of one type (all textures for example?)

Any help is greatly appreciated!
-Ipenda Keynes.
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
09-02-2006 09:08
From: Ipenda Keynes
How can I script it so it removes ALL of one type (all textures for example?)

CODE

string name;

while( (name = llGetInventoryName( INVENTORY_TEXTURE, 0 )) != "" ) {

llRemoveInventory( name );
}