So I've got this attachment I'm going to post the simplest possible script that causes the problem. The reset's aren't technically required to cause the problem, taking them out doesn't seem to change it, but just in case they might be involved I left them in...
default {
state_entry() { llTargetOmega(<0., 0., 0.>, 0., 0.); }
on_rez(integer num) { llResetScript(); }
attach(key id) { llResetScript(); }
touch_start(integer num_detected) {
llTargetOmega(<0., 0., 1.>, 1., 1.);
}
}
Save it - click it - it starts spinning. Reset, it stops. Wear it, click it, it starts spinning. Reset, it stops.
Deteach then wear from inventory. Clicking won't make it start spinning. Re-save the script (not sure about reset) and it works. Drop it in-world and touch it, it starts spinning.
Has anyone experienced similar behaviour? Got a work-around?