I see I could have been clearer in my initial post. Clothing might imply rigged mesh, but the object containing this script is a bracelet composed of prims.
default {
touch_start(integer num_detected) {
string toucher = llGetDisplayName(llDetectedKey(0));
llSay(0, toucher + " clicked on the bracelet.");
llSay(0, "Actual message edited to protect the guilty");
}
}
As I said, it works fine when it's not being worn. Not a lot that could go wrong.