Lets say I need to parse two variables. %one and %two

If (%one == 1) echo one ;Works Fine
elseif (%one == 2) echo two ;Works Fine
else echo three or above ;Works Fine

if (%two == a) echo a ;Works Fine
elseif (%two == b) echo b ;Dosnt work
else echo c-z ;Dosnt work

the only current work-around is to use nested ifs

So do you both see a problem with adding this or just bothering to reply because you dont need it?

Edit: Obviousouly, using /endig wouldnt be required, but optional.

Last edited by The_JD; 14/02/08 02:20 PM.

[02:16] * Titanic has quit IRC (Excess Flood)