src.client.view=12
src.random = rand(1,2)
if(src.random == 1)
src.loc = locate(9,9,6)
if(src.random == 2)
src.loc = locate(45,9,6)
Problem description: I like to make a few random login screens, is this the right way to go? I keep getting a warning that the if statement has no effect.
Code that runs when an if statement is true needs to be indented underneath it.
I'd also recommend you change your code to: