ID:179862
 
obj/Teleport
icon = 'Teleport.dmi'
Click()
switch(input("Wanna Teleport back to the start","?")in list("Sure","No"))
if("Sure")
usr.loc = locate(1,1,1)
if("No")
usr<<"Ok Come Again"

main.dm:81: Inconsistent indentation.
main.dm:83: Inconsistent indentation.
main.dm:85: Inconsistent indentation.

game.dmb - 3 errors, 0 warnings

why am i getting inconsistent indention?
plz helpp me
CloneGoku wrote:
obj/Teleport
icon = 'Teleport.dmi'
Click()
switch(input("Wanna Teleport back to the start","?")in list("Sure","No"))
if("Sure")
usr.loc = locate(1,1,1)
if("No")
usr<<"Ok Come Again"

main.dm:81: Inconsistent indentation.
main.dm:83: Inconsistent indentation.
main.dm:85: Inconsistent indentation.

game.dmb - 3 errors, 0 warnings

why am i getting inconsistent indention?
plz helpp me

ahh the dreaded inconsistant indentation error a plague to all newbies. well you probably have spaces in front of the line try backspacing all those lines to the "leftest" side of the page and then tab them back into place. if this doesnt work then u probably got the evilest thing on BYOND.

o ya dont post the same thing twice plp will see it...
In response to BurningIce
i wasnt meant to post it twice
In response to BurningIce
nope i still got the same errors after doing what you said
yes there must be something evil....
In response to CloneGoku
CloneGoku wrote:
nope i still got the same errors after doing what you said
yes there must be something evil....

Well that's why it's evil is becase I don't know what it is :(. But it probably has somthing to do with your whole uhhh whats the word (format) i guess. but I'm sure one of the guru's can help you.
CloneGoku wrote:
obj/Teleport
icon = 'Teleport.dmi'
Click()
switch(input("Wanna Teleport back to the start","?")in list("Sure","No"))
if("Sure")
usr.loc = locate(1,1,1)
if("No")
usr<<"Ok

Everything after obj/Teleport is 1 tab space too far over.
main.dm:81: Inconsistent indentation.
main.dm:83: Inconsistent indentation.
main.dm:85: Inconsistent indentation.

Press CTRL-T and see if all the little ">>"s that appear are all in line. If not, select all your code, and press shift-tab a bunch to let it all back to the margin.

Then, retab as it should be.
In response to BurningIce
nevermind i fixed it