trying to make a script that when user enters a number depending on which it will open 1 or 2 scripts. Doesn't work right now it's some cut & paste from help file.
proc main
string name1
sdlginput "config" "enter 1 2 or 3" name1
transmit name1
transmit "^M"
integer name1
if name1 == 1
execute "1.wax"
endif
waitfor "done"
if name1 == 2
execute "1.wax"
endif
waitfor "done"
execute "2.wax"
endproc
thanks
proc main
string name1
sdlginput "config" "enter 1 2 or 3" name1
transmit name1
transmit "^M"
integer name1
if name1 == 1
execute "1.wax"
endif
waitfor "done"
if name1 == 2
execute "1.wax"
endif
waitfor "done"
execute "2.wax"
endproc
thanks