Subj : Re: JS: Exec, Load or DIE To : Mindless Automaton From : Tracker1 Date : Mon Jun 20 2005 07:44 am Mindless Automaton wrote: > I've been doing some fiddlin' with js menus and was wondering if someone > could give me the correct syntax to call another js. > > Ie. > > I have default.js which has most of the menu options in it, but it was > getting rather large, so I created an additional js for external programs > and such (xtrn.js). > > 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"...); -- Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) --- þ Synchronet þ theroughnecks.net - you know you want it .