ID:142749
 
Code:
turf
Enter_Game
Click()
var/choice = input("What character would you like to play as?")in list("Stewie","Peter")
if(src.choice == "Stewie")
usr.icon = "Stewie"


Problem description:

Title Screen.dm:8: Inconsistent indentation.
Title Screen.dm:9: Inconsistent indentation.

Family Guy Now.dmb - 3 errors, 0 warnings

Can somone please fix this and repost, iv been trying forever and cant figure out why im getting this error.

Your indentation is inconsistent. The first three lines have 4 spaces per tab, and after that it's just totally random.
In response to Garthor
whst should it look like then?
In response to Dbgtsuperfreak
In response to Garthor
I read this a long time ago before I even posted and I still cant figure out what is wrong with it. Iv spaced everything evenly. Can u please post the right code so I can fix this.
In response to Dbgtsuperfreak
Just posting the code to you will most likely not teach you how to future proof against these errors, but again, nonetheless:

turf
Enter_Game
Click()
switch(input("What character would you like to play as?")in list("Stewie","Peter"))
if("Stewie")
usr.icon_state = "Stewie"
if("Peter")
usr.icon_state = "Peter"
..()


In Dream Maker: Go to Options, Code Preferences, Tabs, and check Show Tabs. This should help you spot something out of place.
In response to Siientxx
thank you it worked perfectly.