I'm just breaking into the "scripted accessories" thing on SL, only I know next to nothing about scripting... in the process of making something else, I ended up making something that looks sort of like a cellular phone. So I finished and textured it, thinking it'd be fun. Now that I'm done, I decided that I wanted it to do three things.
1) Play a variety of "ringtones" which would be five to ten second sound files stored inside the phone.
2) Flip open on either a touch or a channel command response
3) On the Flip open state, play one of four random audio files, as if someone were "calling" the phone.
The phone is mounted on my avatar's back, and I've experimented with joints to make a sort of hinge, and it hasn't worked. Is this possible, and if so, could you show me what commands I need?
I do intend to sell this accessory in a store, so I don't want someone to write this for me, though I'd be willing to share percentage of sales if someone did want to write it.
