CODE
on_rez(integer rez_num)
{
if(owner != llGetOwner())
llRemoveInventory(llGetScriptName());
else
//llSetPrimitiveParams([PRIM_TEMP_ON_REZ, TRUE]);//use only if you want the object to be temp(not selling copies)
llSetPos(llGetLocalPos() + position);
llSetRot(origrot);
}
I'm not sure what exactly that 'if' statement is supposed to be doing, but I'll bet it has become a defect (I changed the indent to show how this will actually be interpreted, if you hit quote or have the greasemonkey plugin for viewing scripts here). I highly recommend ALWAYS putting curly braces on your control structure to avoid problems just like this one. That's the second such error I've seen today.