Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input box with set variable
#5
I tried the Macro,
int i
inp- i "" "" "" 0 "" inp_Limit3Digits
out i

one problem is that it doesn't know what "inp_Limit3Digits" is, then I am not sure where to place it. I have already set a STR called IP. The 3 numbers I want them to type will complete the IP address as seen below ie: 10.99.IP.2. If you get a chance, can you show me where to add your Macro?

str IP
10
if(!inp(IP "please type the 3 numbers provided by the WVLC tech staff" "IP address" "")) ret
OnScreenDisplay _s.format("Starting network connection:[]IP: 10.99.%s.222 []Mask: 255.255.255.0 []GW: 10.99.%s.1[]" IP IP)15 600 600 "Arial" 14 0x00000f


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)