1. Why dose M4 magically change "state" to true, yet no button has been pressed?
>>state is controlled by M4 and deals with its status
2. Why dose it loop 4 times before coming to rest?
>>May depend on what motion plugin your using, but at any rate.
>>put in a "Loop Counter" that counts to "5" which will then set some custom
>>var to true, which then allows your code block(s) to run.
>>those 4 loops are going to happen REAL fast at init.
3. What is the use of the ";" at the end of some lines?
>>In lua, you can use them for a code line delimiter (like in C).
>>lua does not care if you use them or not.
>>I personally use them since I program in C as well, and don't wont
>>to have to think about using them or not..

Cheers and thanks for all the fish
>>The answer is "42" because you where not very specific