Multiline if statements


#1

Whats up with that?
I wanna do

if(player.script.sync.b["isOnGround"] 
&& !player.script.sync.b["isJumping"]) {
    player.jump();
}

and stuff like that.
Am i doing it wrong or is there really no way to split large ifs into multiple lines?
I remember ready something about “no because no semicolons needed” or something like that.


#2

Multiple lines unfortunately isn’t really supported that well. And yes, semicolons are optional.