Re-Rez Detached Prop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/******************************************************************
* Simple example of re-rezzing all attachment props as soon as the avatar detaches them
******************************************************************/
default{
link_message(integer sender, integer num, string msg, key id){
if(num==90500){
list data = llParseStringKeepNulls(msg,["|"],[]);
string EVENT = llList2String(data,0);
string PROP_NAME = llList2String(data,2);
if(EVENT == "DETACHED"){
llMessageLinked(LINK_THIS,90220,PROP_NAME,"");
}
}
}
}