Hey, just wondering if the Mystic text box can accept entered data, as
in a username and password? I know it does "Y/N" questions, and hotkey input, but fields would be cool if it's doable.
The way my matrix login is now, it pops the "username/password" prompts
at the bottom of the screen, overwriting some of the matrix ansi.
I'm looking now to see if it's possible, but I haven't had any luck yet. If anyone knows, please lemme know. Thanks!
Hey, just wondering if the Mystic text box can accept entered data, as
in a username and password? I know it does "Y/N" questions, and hotkey input, but fields would be cool if it's doable.
I'm looking now to see if it's possible, but I haven't had any luck yet. If anyone knows, please lemme know. Thanks!
Hey, just wondering if the Mystic text box can accept entered data, as
in a username and password? I know it does "Y/N" questions, and hotkey input, but fields would be cool if it's doable.
The way my matrix login is now, it pops the "username/password" prompts
at the bottom of the screen, overwriting some of the matrix ansi.
I'm looking now to see if it's possible, but I haven't had any luck yet. If anyone knows, please lemme know. Thanks!
On 10/27/16, maskreet said the following...
Hey, just wondering if the Mystic text box can accept entered data, a in a username and password? I know it does "Y/N" questions, and hotke input, but fields would be cool if it's doable.
The way my matrix login is now, it pops the "username/password" promp at the bottom of the screen, overwriting some of the matrix ansi.
I'm looking now to see if it's possible, but I haven't had any luck y If anyone knows, please lemme know. Thanks!
Are you doing this via MPL? If so then use the input command:
Function INPUT (Field: Byte, Max: Byte, Mode: Byte, Default: String) : String
Var Str String
Write ('Enter something: ')
Str := Input (30, 30, 1, '')
This is very basic but hope you get the idea from it. :P
On 10/27/16, maskreet said the following...
Hey, just wondering if the Mystic text box can accept entered data, a in a username and password? I know it does "Y/N" questions, and hotke input, but fields would be cool if it's doable.
The way my matrix login is now, it pops the "username/password" promp at the bottom of the screen, overwriting some of the matrix ansi.
I'm looking now to see if it's possible, but I haven't had any luck y If anyone knows, please lemme know. Thanks!
Are you doing this from a default.txt prompt? You can use the #X display code to put the box anyplace on the screen that you want. Then you can use the [X and [Y commands to move the curse to the desired location.
You can append all the different MCI display codes on the same line.
That helps, because it gives you a way to have multiple functions on one single prompt.
000 |DFpreuser|#X#1#Header#25#10#55#14#|[X27|[Y12Username: |XX
Are you doing this from a default.txt prompt? You can use the #X dis code to put the box anyplace on the screen that you want. Then you c use the [X and [Y commands to move the curse to the desired location. You can append all the different MCI display codes on the same line. That helps, because it gives you a way to have multiple functions on single prompt.
000 |DFpreuser|#X#1#Header#25#10#55#14#|[X27|[Y12Username: |XX
That places the prompt at an X and Y coordinate, but it doesn't show a
box for some reason. Looking on the Mystic wiki, I see I, V, B and Y for different types of text boxes, but nothing for X. Your example places everything before the X and Y coords at the top of the screen, and only places the text at the coordinates.
That places the prompt at an X and Y coordinate, but it doesn't show box for some reason. Looking on the Mystic wiki, I see I, V, B and Y different types of text boxes, but nothing for X. Your example places everything before the X and Y coords at the top of the screen, and on places the text at the coordinates.
I may have gotten the formatting wrong, so you'll have to double-check my work. Also, the Mystic mesage reader will strip out some of the pipe codes. I know that it striped out a pipe between DF and #X The DF<filename> code requires a pipe at each end. Then you can add a pipe before the #X
000 |DFpreuser| #X#1#Header#25#10#55#14#|[X27|[Y12Username: |XX
On 10/28/16, Gryphon said the following...
That places the prompt at an X and Y coordinate, but it doesn't box for some reason. Looking on the Mystic wiki, I see I, V, B a different types of text boxes, but nothing for X. Your example p everything before the X and Y coords at the top of the screen, a places the text at the coordinates.
I may have gotten the formatting wrong, so you'll have to double-chec work. Also, the Mystic mesage reader will strip out some of the pipe codes. I know that it striped out a pipe between DF and #X The DF<filename> code requires a pipe at each end. Then you can add a pi before the #X
000 |DFpreuser| #X#1#Header#25#10#55#14#|[X27|[Y12Username: |XX
That got it. Thanks, man!
I took out the display file part, since the boxes are supposed to keep
the prior screen, and it does, so that was cool. Dicked around with
coords and box size parameters, and it's good to go!
BTW, how did you get the info for #X? Like I said, I looked on the wiki and there wasn't anything in there for accepting any other input aside from Y/N and one-key hotkeys.
I got the info for #X from the whatsnew.txt file.
As a side note, since #X doesn't clear or restore the screen when it's done, you can stack the 'SS' and 'SR' mci codes to first save the screen before drawing the box, then SR to restore the screen to the state it
was in before the box was drawn.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 164:31:05 |
Calls: | 2,077 |
Calls today: | 3 |
Files: | 11,137 |
Messages: | 947,182 |