05-19-2008, 05:39 PM
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
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