ID:150017
 
I get alot a inconsistant indentation errors with this:

if("Human")
usr.race = "Human"
usr.hp = 40
usr.maxhp = usr.hp
usr.mp = 20 usr.armorclass = 0
usr.intelligence = 10
usr.strength = 10
usr.dexterty = 11
usr.stamina = 13
usr.speed = 11
usr.level = 1
usr.experience = 0

on all the usr. things i get the errors iv tried everything i could think of but it still gives me the error

Looks like they're all too far over, they should be one tab to the right of the if().
Elreon wrote:
I get alot a inconsistant indentation errors with this:

if("Human")
usr.race = "Human"
usr.hp = 40
usr.maxhp = usr.hp
usr.mp = 20 usr.armorclass = 0
usr.intelligence = 10
usr.strength = 10
usr.dexterty = 11
usr.stamina = 13
usr.speed = 11
usr.level = 1
usr.experience = 0

on all the usr. things i get the errors iv tried everything i could think of but it still gives me the error

Take a look at your post, and you'll see the indentation does not look consistant with what BYOND demands. It looks ok in the form field you typed it in, however. The reason is that you have mixed spaces and tabs.

Make sure that you use one or the other, but not both, so that you can see what is properly indented. If you copy code from the forums or someone's email, make sure you indent it all by hand, to make sure it is correct.
Elreon wrote:
on all the usr. things i get the errors iv tried everything i could think of but it still gives me the error

The FAQ explains how to fix these things in some detail:

http://www.deadron.com/Admin/BYOND_FAQ.html#N3291
Here ill show you and plz Reply back to My Save File problem
:

if("Human")


usr.hp = 40
usr.maxhp = usr.hp
usr.mp = 20 usr.armorclass
usr.intelligence = 10
usr.strength = 10
usr.dexterty = 11
usr.stamina = 13
usr.speed = 11
usr.level = 1
usr.experience = 0