Door Games Unlimited

Welcome, Guest.


Subject: classic_shell.js Date: Sat Feb 08 2014 18:00:10
From: Deuce To: Bill McGarrity

  Re: classic_shell.js
  By: Bill McGarrity to All on Sat Feb 08 2014 11:47 am

 > I am just getting my feet wet with programing and I wanted to make a change
 > in the e-mail section of classc_shell.js. My plan is to add another command
 > to it so it wil call a door that looks at an FTN nodelist. So say under the
 > "N" I wanted to add a "L" for FTN Lookup... what would be involved?

So, at about line 291 or so you would add something like this:

case 'L':
    bbs.exec_xtrn('CODE');
    continue main;

(Assuming that "CODE" is the internal code of the door).
Then you would need to modify the menu ASC file.  In text/menu, there's a 
                                                                          main.a
sc file.  I think PabloDraw supports editing ASC files directly, so fire 
                                                                         up PB a
nd load main.asc and fix up the menu to include the new 'L' command.

---
http://DuckDuckGo.com/ a better search engine that respects your privacy.
 ■ Synchronet ■ My Brand-New BBS (All the cool SysOps run STOCK!)

Previous Message       Next Message
In Reply To: classic_shell.js (Bill McGarrity)
Replies: Re: classic_shell.js (Bill McGarrity)