// Set up Gloabls for RLV listener event integer channel; integer listener; integer listLength; string scanType; string name; // Human readable list which is used to translate return from @getoutfit[:part]= // http://wiki.secondlife.com/wiki/LSL_Protocol/RestrainedLoveAPI#Clothing_and_Attachments list clothingTypes= [ "gloves","jacket","pants","shirt","shoes","skirt","socks","underpants", "undershirt","skin","eyes","hair","shape","alpha","tattoo" ]; // Human readable list which is used to translate return from @getattach[:attachpt]= list attachmentTypes = [ "none","chest","skull","left shoulder","right shoulder","left hand","right hand","left foot","right foot", "spine","pelvis","mouth","chin","left ear","right ear","left eyeball","right eyeball","nose","r upper arm", "r forearm","l upper arm","l forearm","right hip","r upper leg","r lower leg","left hip","l upper leg", "l lower leg","stomach","left pec","right pec","center 2","top right","top","top left","center","bottom left","bottom","bottom right","neck","root" ]; removeListener() { if(listener!=0) { llListenRemove(listener); listener=0; } llSetTimerEvent(0.0); } getWorn(string message) { integer index; // Check what type of scan we're doing if(scanType == "Clothing") { // Get the length for the loop listLength=llGetListLength(clothingTypes); for(index=0;index