I have seen it, mainly as related to AvSitter. I click on an object and am asked permission to attach the object and it autoattaches. Anyone know where I can find this script? The menu is black not the blue menu. I have searched the MP and am unable to find it.
You rez the object with the start parameter as the llHash of the person to attach to, then the rezzed object does a llSensor or llGetAgentList in on_rez and searches for the avatar who's hashed key matches, then requests permissions and attaches to them.
Roughly (I'm too lazy to test and debug):
//Rezzer:
llRezAtRoot(myObj, rezPos, rezVel, rezRot, llHash(whoToGiveTo));
//Rezzed object:
on_rez(integer hash)
{ list nearby = llGetAgentList(AGENT_LIST_PARCEL,[]);
integer i = llGetList