I am not sure, almost all the code in the project is generated by firebreath... i just wrote this function form an example function...

HarrisonRunCmdPluginAPI is the object that that contains all the methods of the NPAPI plugin...

and FB is the firebreath class from witch ( I think )
HarrisonRunCmdPluginAPI ( my class ) inherits some methods needed for functionality...


for example if I replace all the code in the function with:

Code:
   return command;
When I call the obj from js I get the argument back with no trouble at all...