• IR / IT from MPS?

    From esc@21:1/112 to All on Tuesday, April 30, 2019 18:50:15
    Hey guys,

    I'm trying to write a door menu MPL and notice that I can run some menu commands, like DD, to launch a door. However, I want to offer some options of outbound telnet and RLogin for users but notice that I can't use IR or IT. Is this expected?

    g00r00, if this isn't implemented right now, how tough would it be?

    Thanks!

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to esc on Wednesday, May 01, 2019 08:48:28
    I'm trying to write a door menu MPL and notice that I can run some menu commands, like DD, to launch a door. However, I want to offer some
    options of outbound telnet and RLogin for users but notice that I can't use IR or IT. Is this expected?

    You want to use the IR/IT commands within your DOOR? If so, you can't. IR/IT are ment to me used within MPL scripts. Did i understand right?

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From esc@21:1/112 to xqtr on Wednesday, May 01, 2019 09:44:04
    You want to use the IR/IT commands within your DOOR? If so, you can't. IR/IT are ment to me used within MPL scripts. Did i understand right?

    No, I want to use the menu commands from within an MPL script. :)

    Right now I can use other traditional menu commands, to include DD to launch doors. But IR/IT don't seem to do anything.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to esc on Wednesday, May 01, 2019 15:26:13
    No, I want to use the menu commands from within an MPL script. :)
    Right now I can use other traditional menu commands, to include DD to launch doors. But IR/IT don't seem to do anything.

    Are you using correct syntax?

    Check it here: http://wiki.mysticbbs.com/doku.php?id=menu_commands&s[]=addr#internet_related

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From esc@21:1/112 to xqtr on Wednesday, May 01, 2019 11:53:07
    No, I want to use the menu commands from within an MPL script. :) Right now I can use other traditional menu commands, to include DD to launch doors. But IR/IT don't seem to do anything.

    Are you using correct syntax?

    Yeah. There's nothing in my logs to suggest it even tried making any sort of telnet or rlogin connection.

    Furthermore I can use the IR/IT commands in a menu and they work fine, but putting them into an MPL results in nothing. I suspect this just hasn't been implemented?

    Are you able to write a quick MPL to telnet or rlogin to something and share
    a snippet?

    What I have is pretty complicated - I'm reading in a config file and running the command specified within, perhaps the `/` marks are getting caught up or something.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to esc on Wednesday, May 01, 2019 21:02:22
    Yeah. There's nothing in my logs to suggest it even tried making any
    sort of telnet or rlogin connection.
    Are you able to write a quick MPL to telnet or rlogin to something and share a snippet?

    I am sure you don't use it correct :) here is a simple snippet, put it in a plain text file, save it as .mps and compile it with mplc.

    begin
    menucmd('IT','/addr=andr01d.zapto.org /port=9999');
    end;

    if my bbs is open you will connect to it. I tested the script and works 100%.
    I am sure you will figure it now.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From esc@21:1/112 to xqtr on Wednesday, May 01, 2019 20:18:07
    I am sure you don't use it correct :) here is a simple snippet, put it
    in a plain text file, save it as .mps and compile it with mplc.

    begin
    menucmd('IT','/addr=andr01d.zapto.org /port=9999');
    end;

    Ok, I'll give it a shot in a moment. I don't know why my script isn't
    working, if that's the case...it can run very complex commands to launch doorgames in dosemu, for example. So it's puzzling.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)