Hi. I've been working with shake for some time, but never got to write scripts in it. I need a very basic script that turns the opacity of a muzzle flash on and off based on what frame I'm on. I was thinking about using the modulus function, but didn't find any references to it in shake manual.
basically, my line of script looked like this:
if (time%3){
maskPercent = 100}
else if[maskPercent = 0
};
I think there might be a number of problems with it 
First of all, is modulus implemented in Shake and if so, what's the syntaxis for it?
Secondly, the command structure goes like if - else if. Does it mean that on the second part (else if) I need to specify the opposite of the statement I used in the first part? Or should I simply leave it the way it is now?
Thank you very much,
Luka