Mark West
Mark West
Have a look at issue #60, this might explain your problems.
Like it! I'll have a closer look tonight!
"if(ExecuteCommands.indexOf(command) == 0)" results in the following error : "TypeError: Object # has no method 'indexOf'".
http://stackoverflow.com/questions/8668174/indexof-method-in-an-object-array
I guess this can be solved by square brackets around the array of commands. I'll have a look in the morning (I've been busy with other stuff this evening!