You have to include it in main.ape.js. And :
[Module] [spidermonkey] Loading module : Javascript embeded (0.01) - Anthony Catel [JS] Main script loaded Should be displayed at the start. For a better understanding, read this : http://www.ape-project.org/wiki/index.php/How_to_build_a_serverside_JS_module As you can see : Ape.getChannelByName(params.channel).pipe.sendRaw(params.raw, params.data); {"cmd":"control","params":{"password:"foo","raw":"YOURRAW","channel":"channelname","data":{}}} You can populate the "data" object with the object you want. Alex Wright a écrit : > OK. I've got the lastest now, and it has inlinepush.js now. > > How do I ensure that it is loaded? Does APE load all the commands/*.js > files when the spidermonkey plugin is loaded? > > Also, could you give us an example of the new JSON based syntax for > calling the control command? > > On Oct 12, 1:59 pm, Anthony Catel <[email protected]> wrote: > >> Hi, >> >> "mod controller" is already on github. >> But it's not libape-controller anymore. >> >> Take a look at ./bin/scripts/commands/inlinepush.js >> >> Anthony >> >> John Chavarria a écrit : >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ -~----------~----~----~----~------~----~------~--~---
