// Random Texture Switcher // by Dackedidi Miles float Timer = 1.2; // speed in seconds // // default { state_entry() { llSetTimerEvent(Timer); } timer() { integer number = llGetInventoryNumber(INVENTORY_TEXTURE); float rand = llFrand(number); integer choice = (integer)rand; string name = llGetInventoryName(INVENTORY_TEXTURE, choice); if (name != "") llSetTexture(name, ALL_SIDES); } }