Help With Function Block & User Input
-
I want to allow my config to consult the user, then use that input to make random strings of numbers.
For example, if the user inputs "3598472", then OB will take that input and make "3598472xxxxxxx"
Here's what I have, but it didn't work
FUNCTION RandomString "?d?d?d?d?d?d?d" -> CAP "CODE"
I also have a user input labelled as "CODE" as well.
-
3598472?d?d?d?d?d?d?d - U can use this
-
@MrGari I want that part to be the user input. It was just an example. Not the actual number sequence I'm using.
-
<USERINPUT>?d?d?d?d?d?d
-
@Ruri I had tried that. It just inputs "<USERINPUT>". I tried it again just to be sure https://ibb.co/P1hYg7z
-
@TrillyReign obviously the program will put userinput you didn't define anything for userinput. What you want to define to "USERINPUT"?
-
@tiolxpe Oh, you mean like this https://ibb.co/N31K9H5
I wouldn't open a thread if that worked , as I already tried it and posted the previous screenshot
@TrillyReign said in Help With Function Block & User Input:
@Ruri I had tried that. It just inputs "<USERINPUT>". I tried it again just to be sure https://ibb.co/P1hYg7z
Thank you for trying to help though!
-
@TrillyReign lets asume.. the variable for your user input is <CODE>... then your code should look like this
<CODE>?d?d?d?d?d?d
I hope this help
-
@hackery Yes, I understand. As you can see from the screenshots I posted, the user input is name USERINPUT, as well as, my string is <USERINPUT>?d?d?d?d?d?d
I fixed it. I had to restart & purge openbullet. Fair to say, I think it was a bug.