/* Add this in a prim linkset that you have converted to mesh Add "texturecopy_target" to the linkset of the mesh Then: Click first a blank texture in the mesh linkset, then the corresponding texture in the prim linkset. The texture will be copied to the mesh, even if you don't own it */ float newtimer = 0; float oldtimer = 0; default { touch_start(integer n) { oldtimer = newtimer; integer link = llDetectedLinkNumber(0); list t = osGetLinkPrimitiveParams(link, [PRIM_TEXTURE, llDetectedTouchFace(0)]); key texture = llList2Key(t, 0); llRegionSay(99999, texture); llOwnerSay(texture); } }