Mark West

Results 5 comments of Mark West

Have a look at issue #60, this might explain your problems.

"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!