Subj : Re: JS: Exec, Load or DIE To : Tracker1 From : Mindless Automaton Date : Wed Sep 14 2005 07:08 pm Tracker1 wrote: >>I've tried a few things, but I seem to fail. > > > USE: > load("xtrn.js"); > or > bbs.exec("?xtrn.js"); > > use the load if you can... it will give you less headaches in the end, trust > me... if you need params, load("xtrn.js","param1","param2"...); > Alrighty, I changed the logon.js? (login, logon, I get the names confused) to have it run bullseye.js using load("bullseye.js") instead of the regular way bullseye.bin was set up to run. However, when I hit enter to continue from bullseye, I am get bullseye again and I can't escape! Therefore, there is probably a way to execute a js from the original file and return to the original file when that script is done that I haven't figured out. Right now I split the logon/login one in two so it loads log?n, loads bullseye, loads the other half, which is probably not the best way to go. If I switch back to loading bullseye as a logon event (set up through scfg) should the command line be ?bullseye.js or ? Also how/when do you know to use a ? or * in something like bbs.exec("?xtrn.js"); and why isn't it used in load("xtrn.js");? Many thanks, -Mindless Automaton --- þ Synchronet .