ID:178742
 
mob
Login()
usr.icon = input("What ship do you want?") in list ('person.dmi')
usr.icon_state = input("what person do you want?(hair colors)")in list("green","blue","grey","red")
if("grey")
icon_state ="grey"
usr.Move(locate(96,95,1))
if("blue")
icon_state ="blue"
usr.Move(locate(5,6,1))
if("green")
icon_state ="green"
usr.Move(locate(96,6,1))
if("red")
icon_state ="red"
usr.Move(locate(5,95,1))

Is this code right. because i put it in.. when u pick the team it is spose to spawn u at the location. but it gave me an error:

loading Space warz.dme
Space warz.dm:5: Inconsistent indentation.

Space warz.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)

when i click on it it jumps to the first part:
if("grey")
icon_state ="grey"
usr.Move(locate(96,95,1))



mob
Login()
usr.icon = input("What ship do you want?") in list ('person.dmi')
switch(input("what person do you want?(hair colors)")in list("green","blue","grey","red"))
if("grey")
icon_state ="grey"
usr.Move(locate(96,95,1))
if("blue")
icon_state ="blue"
usr.Move(locate(5,6,1))
if("green")
icon_state ="green"
usr.Move(locate(96,6,1))
if("red")
icon_state ="red"
usr.Move(locate(5,95,1))
return ..()



//FIXED CODE

Didnt you see Fireelmblem's post........
In response to Winbiko
Winbiko wrote:
mob
Login()
usr.icon = input("What ship do you want?") in list ('person.dmi')
switch(input("what person do you want?(hair colors)")in list("green","blue","grey","red"))
if("grey")
icon_state ="grey"
usr.Move(locate(96,95,1))
if("blue")
icon_state ="blue"
usr.Move(locate(5,6,1))
if("green")
icon_state ="green"
usr.Move(locate(96,6,1))
if("red")
icon_state ="red"
usr.Move(locate(5,95,1))
return ..()



//FIXED CODE

loading Space warz.dme
Space warz.dm:5: Inconsistent indentation.
Space warz.dm:6: Inconsistent indentation.
Space warz.dm:7: Inconsistent indentation.
Space warz.dm:8: Inconsistent indentation.
Space warz.dm:9: Inconsistent indentation.
Space warz.dm:10: Inconsistent indentation.
Space warz.dm:11: Inconsistent indentation.
Space warz.dm:12: Inconsistent indentation.
Space warz.dm:13: Inconsistent indentation.
Space warz.dm:14: Inconsistent indentation.
Space warz.dm:15: Inconsistent indentation.
Space warz.dm:16: Inconsistent indentation.

Space warz.dmb - 12 errors, 0 warnings (double-click on an error to jump to it)
In response to Strange Kidd
Strange Kidd wrote:
Didnt you see Fireelmblem's post........

Think i care?
In response to ShadowSiientx
And THAT's why you don't copy paste code from the forum.
In response to ShadowSiientx
hehehe.

In response to Nadrew
mob
Login()
usr.icon = input("What ship do you want?") in list ('person.dmi')
switch(input("what person do you want?(hair colors)")in list("green","blue","grey","red"))
if("grey")
icon_state ="grey"
usr.Move(locate(96,95,1))
if("blue")
icon_state ="blue"
usr.Move(locate(5,6,1))
if("green")
icon_state ="green"
usr.Move(locate(96,6,1))
if("red")
icon_state ="red"
usr.Move(locate(5,95,1))
return ..()



//uhhhh its really fixed.
In response to ShadowSiientx
Here do this!
Take all your If and the statement under them and take away all the empty space to the left till its touched all the way to the LEFT SIDE.
Now indent your IF statements back to where they used to be with the tab key. And do the same thing for the icon_state stuff but tab it once more so it just one tab more than the if(... statements.

LJR