I must say that I'm more or less a beginner in scripting, anyway...
I've made a nice little script for colour change which uses llDialog, I would like it to be able to control particles as well (as in: choose colour with a submenu - particles on - particles off).
I have a different script for particles that I've put in my item and I was wondering if I could control this script from the main one using maybe llSetScriptState. No need to say that this option isn't working... particles start bursting by themselves as soon as I put the script inside (or don't start at all).
So, I understand that I'm doing something wrong with state_entry and so on (probably, I'm having a terrible headache by now, so I might also say stupid things -____-) in the particles script.
Anyway, before I start banging my head on walls, can anybody please tell me if such a control system is even possible? And if so, how should I handle my particle script to prevent particles from bursting out by themselves?
Thanks in advance to anybody who can give me an answer.

