B
BlueCat6123
Guest
I've searched around for a bit, but I could not find anything about checking if a switch() statement has no met conditions. I know that this
doesn't work, specifically the 'else' part. Should I just resort to if statements or am I overthinking it? For context I'm making a Minecraft-esque command prompt that can run in-game and run commands (I sorted them with switch).
Code:
switch(var{
case 0: break:
case 1: break:
case 2: break:
case 3: break:
} else { }