• commands.bbb

    From Chad Adams@1:19/37 to All on Fri Feb 4 14:35:26 2022
    I am trying to make some new commands. I was reading the docs and it talks about two files: commands.bbb and config.bbb.

    I cant seem to find either of those files on the latest BBBS installation. Have they been removed or replaced?

    -Nugax

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (1:19/37)
  • From Alan Ianson@1:153/757 to Chad Adams on Fri Feb 4 15:10:50 2022
    I am trying to make some new commands. I was reading the docs and it talks about two files: commands.bbb and config.bbb.

    Here's a snip I grabbed from the sysop.txt..

    ;Command Menu Script, *bbbs_command or !os_command
    ;==================================================================
    ;
    ; alias "cd" commands:
    ;
    cd.. 4 *cd ..
    cd\ 4 *cd /
    cd/ 4 *cd /
    ;
    ; other BBBS commands:
    ;
    ACCess !,fsysop, 1 *>b You have access!

    That example has alias's for the cd command and the ACCess command will simply print "You have access!" on your screen.

    I cant seem to find either of those files on the latest BBBS installation. Have they been removed or replaced?

    There never was one included as far as I know. You just edit that file in your bbbs directory and go.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Chad Adams@1:19/37 to Alan Ianson on Fri Feb 4 18:10:38 2022
    I suspected this. I wrote a commands.bbb file. I tried adding a printf() program to the commands.bbb on the main menu (2) but it doesnt actually work. The program compolies but it doesnt actually run.




    I am trying to make some new commands. I was reading the docs and it talks >> about two files: commands.bbb and config.bbb.

    Here's a snip I grabbed from the sysop.txt..

    ;Command Menu Script, *bbbs_command or !os_command ;==================================================================
    ;
    ; alias "cd" commands:
    ;
    cd.. 4 *cd ..
    cd\ 4 *cd /
    cd/ 4 *cd /
    ;
    ; other BBBS commands:
    ;
    ACCess !,fsysop, 1 *>b You have access!

    That example has alias's for the cd command and the ACCess command will simply
    print "You have access!" on your screen.

    I cant seem to find either of those files on the latest BBBS installation. >> Have they been removed or replaced?

    There never was one included as far as I know. You just edit that file in your
    bbbs directory and go.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (1:19/37)