if i have "%turn1%=1", what is wrong? :1pcom1 set com1=%random% if %com1%>9 goto 1pcom1 if %com1%==%turn1% goto 1pcom1 goto 1pt2 Of course, i have "1pt2"... |
The question has been closed for the following reason "Not an OpenStreetMap question" by Richard 21 May '12, 14:17
%random% returns a number from 1 to 32768, so it might have to run for a long time before it becomes between 2 and 9 - are you sure that is what you want? If you try to explain what you want to happen it will be a lot easier to give you a good answer. This might also not be the best place to ask, since it is not really OpenStreetMap related. |