ID:2015577
 
(See the best response by Konlet.)
Code:
mob
Hair_Cutter
icon = 'NPCs.dmi'
icon_state = "Barber"
name = "{NPC}Hair Cutter"
npc = 1
verb
Talk()
set category = "NPC's"
set src in oview(2)
switch(input("Do you want a haircut?", text) in list ("Yes","No"))
if("Yes")
usr.overlays -= usr.hair
usr.overlays -= usr.hair
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
switch(input("What hair style would you like?", text) in list ("Long","Long2","Short","Short2","Short3"))
if("Long")
var/hairover = 'Long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Long2")
var/hairover = 'Long2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short")
var/hairover = 'Short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short2")
var/hairover = 'Short2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short3")
var/hairover = 'Short3.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair


Problem description:
HairStyles\Hair.dm:98:error: inconsistent indentation
HairStyles\Hair.dm:99:error: inconsistent indentation
HairStyles\Hair.dm:100:error: inconsistent indentation
Baruto.dmb - 13 errors, 0 warnings


Without going into detail I notice that the following lines are not on the same line:

      var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num


This is illegal in BYOND, as code blocks are identified by which line they're on.
You should say where each of the three lines are. There's also the problem that you start the 'verb' line one many indentation than you should, unless you didn't copy it over properly. Though, I figure tabs are required for byond. As a side note, and this might just be a perspective than a fact, I would assume that it would be more efficient to use if,else if(for the middle ones), and else than using if for each of those in your last list.
Best response
Nullquery hit the nail on the head, though he failed to mention this same error occurs throughout the rest of the code as well.

I'd suggest using the <tab> key, typically located at the top-left of the keyboard, directly west of <Q>. Pressing <tab> will create an indent that is difficult to miss.
If you still feel you have trouble, or just want to be safe, you can view indentations by holding <CTRL> and pressing the <T> key. This will show you each line's indentation.
mob
Hair_Cutter
icon = 'NPCs.dmi'
icon_state = "Barber"
name = "{NPC}Hair Cutter"
npc = 1
verb
Talk()
set category = "NPC's"
set src in oview(2)
switch(input("Do you want a haircut?", text) in list ("Yes","No"))
if("Yes")
usr.overlays -= usr.hair
usr.overlays -= usr.hair
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
switch(input("What hair style would you like?", text) in list ("Long","Long2","Short","Short2","Short3"))
if("Long")
var/hairover = 'Long.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Long2")
var/hairover = 'Long2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short")
var/hairover = 'Short.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short2")
var/hairover = 'Short2.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Short3")
var/hairover = 'Short3.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
<dm>



HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type: list
HairStylesww.dm:20:error: Bad input type
HairStylesww.dm:20:error: Bad input type: input
HairStylesww.dm:20:error: Bad input type: switch
HairStylesww.dm:20:error: if: expected end of statement
Baruto.dmb - 10 errors, 0 warning

did ctrl+q and deleted the spaces but now im getting this:
Baruto.dmb im guessing its naruto evolution source?
In response to Konlet
Konlet wrote:
Nullquery hit the nail on the head, though he failed to mention this same error occurs throughout the rest of the code as well.

I'd suggest using the <tab> key, typically located at the top-left of the keyboard, directly west of <Q>. Pressing <tab> will create an indent that is difficult to miss.
If you still feel you have trouble, or just want to be safe, you can view indentations by holding <CTRL> and pressing the <T> key. This will show you each line's indentation.

I have ask, if i select many lines and press tab i move it but is posible to move it back, like use tab?


I have ask, if i select many lines and press tab i move it but is posible to move it back, like use tab?

Shift+Tab will untab the selection.
In response to Ter13
Ter13 wrote:
I have ask, if i select many lines and press tab i move it but is posible to move it back, like use tab?

Shift+Tab will untab the selection.

Omfg, I wish I knew this years ago! I've spent so much time deleting tabs one by one. D:
In response to Lavenblade
Lavenblade wrote:
Ter13 wrote:
I have ask, if i select many lines and press tab i move it but is posible to move it back, like use tab?

Shift+Tab will untab the selection.

Omfg, I wish I knew this years ago! I've spent so much time deleting tabs one by one. D:

??? it's a standard feature for most IDEs and text editors.
In response to Super Saiyan X
Super Saiyan X wrote:
Lavenblade wrote:
Ter13 wrote:
I have ask, if i select many lines and press tab i move it but is posible to move it back, like use tab?

Shift+Tab will untab the selection.

Omfg, I wish I knew this years ago! I've spent so much time deleting tabs one by one. D:

??? it's a standard feature for most IDEs and text editors.
I had no idea. *Facepalm*
Pfft... amateurs
It's true. Too many people are afraid to ask questions that are probably silly. I am too, but we have Google now. No need to make public your stupidity when you can archive it on Google's servers.
I do make fun of people for failures in logic or immunity to reason, but just not knowing/understanding? Eh. I give that a pass.