Subj : Re: GoldMine - Connecting from Synchronet BBS To : Digital Man From : Gamgee Date : Wed Oct 30 2024 10:46 am -=> Digital Man wrote to Gamgee <=- > If I define either of those methods as the command line for my external > event/door, it works as expected, and produces this output on the > Goldmine site as the current user: [PAL]Gamgee > > If I run either of those command lines while sitting at a prompt on my > BBS, using the ;EXEC command and then typing the command line, I get > this output on the site: [PAL]%A DM> That's expected. I just committed a trivial change to str_cmds.js so DM> that it *will* now expand command-line specifiers that you pass on the DM> command-line using the ;exec sysop command, so that should work if you DM> update. OK, cool, thank you. > So for some reason the alias variable is not being evaluated when run > "manually". > > Is the case of the %a or %A significant? Both show as "%A" on the > output if that means anything. DM> It sounds like you're using a command shell that is converting the DM> input to all-caps. Here's how it works for me using default.js and the DM> updated str_cmds.js (and demonstrates the difference between %a and DM> %A): DM> = Main = 0:07:22 [4] fsxNet [11] FSX BBS: ;exec DM> Command-line: ?showargs %a DM> argc = 1 DM> argv[0] = 'Digital Man' DM> = Main = 0:07:56 [4] fsxNet [11] FSX BBS: ;exec DM> Command-line: ?showargs %A DM> argc = 2 DM> argv[0] = 'Digital' DM> argv[1] = 'Man' DM> showargs.js is just this (for test/demo purposes): DM> print("argc = " + argc); DM> for(i=0;i printf("argv[%d] = '%s'\r\n",i,argv[i].toString()); Ahhh, OK, thank you again. For a single-word alias I'll just use the lowercase one then. As for my command shell, it is a modified form of default.bin (src). The only changes though are that some commands have been disabled, and some modified to use the DDMsgReader/DDAreaChooser mods. No changes made to anything related to case/caps. The display on the remote website that always showed the capitalized "A" might have been something on that end, I would guess. Anyhow, things are all good now with the command line for opening that game server door. Appreciate it. .... Gone crazy, be back later, please leave message. === MultiMail/Linux v0.52 --- SBBSecho 3.20-Linux * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138) .