This is my code:
Code:
@name Console Holo War Machine
@inputs Screen:wirelink Run Button Keyboard
@outputs Reset:string
@persist String:array
interval(1)
if (Run) {
if (Button==1) {
Screen[2041]=1
timer("Startup",5000)
Screen:writeString("Loading...",10,8,900,0,0)
}
if (clk("Startup")) {
Screen[2041]=1
Screen:writeString("Loaded",11,7,900,0,0)
Screen:writeString("Please give the password:",3,8,900,0,0)
Screen:writeString(toChar(Keyboard),4,9,90,0,0)
}
}
else {
Screen[2041]=1
} So in console screen it looks like that:
Code:
Loading...
//Here it resets screen so its blank and write this:
Loaded.
Please give the password:
XXXXXXXXXX
Basically what i need is when i type in keyboard when the "Please Give the password" text is on the screen, it puts the password in place of XXXXXX (look line above).
pls tell me how can i manage to do it.
Bookmarks