Is there any way to simplify this code, and make it continuable still?
set /a food=%random% %% 6 + 1
if %food%==1 (set foodtype=bread)
if %food%==2 (set foodtype=apple)
if %food%==3 (set foodtype=steak)
if %food%==4 (set foodtype=banana)
etc.
I don't know alot of batch, but i'm expecting something along the lines of this:
set /a food=%random% %% 6 + 1
if food = (1, 2, 3, 4) (set foodtype bread, apple, steak, banana)