Invalid indent, expected al least one line in "if" true block

This error is really confusing me, if it just didn’t work then that’s one thing, but it only fails under specific conditions. If the family_name variable is set to Dale it works, if it is dale, I get the error, and if it is anything else it works. If I change the *if to *if (family_name = “dale”) then it reverses, it works with dale, I get the error with Dale, and it works if it’s anything else. I’m confused because I didn’t think the variables were case sensitive? And if they’re not I’m really not sure what the problem is? Just to confuse my self even more, if I change *if (family_name = “Dale”) from Dale to Hale, it brings up the error if the variable it set to Hale, hale, or anything else.

*label name
What's your first name?
*input_text first_name
Okay, what's your family name?
*input_text family_name

Well, ${first_name} ${family_name}, this is your story…
*choice
	#That's my name, let's get on with it!
		Someone's impatient. That's what got you into this mess in the fist place!
		*if (family_name = "Dale")		
		Your name's ${family_name}? You're kidding right?		
		*choice
			#Nope
				Ah ha, suit yourself.
				*finish Chapter 1 - Human Drudgery
			#Umm…yes?
				>:[
				*page_break
				*goto name
		*else
			*finish Chapter 1 - Human Drudgery
	#Who the hell is ${first_name} ${family_name}?
		*goto name

To try to correct this problem I changed the code to the below. This has stopped the error from coming up and it works when the if statement is true, but when false, it is still presenting the nested choice, I’m not sure how to correct this.

Well, ${first_name} ${family_name}, this is your story…
*choice
	#That's my name, let's get on with it!
		Someone's impatient. That's what got you into this mess in the fist place!
		*if (family_name = "Hale")		
			Your name's ${family_name}? You're kidding right?		
			*choice
				#Nope
					Ah ha, suit yourself.
					*finish Chapter 1 - Human Drudgery
				#Umm…yes?
					>:[
					*page_break
					*goto name
		*else
			*finish Chapter 1 - Human Drudgery
	#Who the hell is ${first_name} ${family_name}?
		*goto name

@hynes57uk Variables, and pretty much everything else (the names of the scenes and text files) in choicescript are case sensitive. I can imagine being unaware of that could give rise to a lot of unexplainable errors.

Did you miss an indent? You can try this (putting a *finish after conditionals:

    Well, ${first_name} ${family_name}, this is your story…
    *choice
    	#That's my name, let's get on with it!
    		Someone's impatient. That's what got you into this mess in the fist place!
    		*if (family_name = "Dale")		
    		       Your name's ${family_name}? You're kidding right?		
    		       *choice
    			      #Nope
    				    Ah ha, suit yourself.
    				    *finish Chapter 1 - Human Drudgery
    			       #Umm…yes?
    				     >:[
    				     *page_break
    				     *goto name
    		*else
    			*finish Chapter 1 - Human Drudgery
                *finish

    	#Who the hell is ${first_name} ${family_name}?
    		*goto name

By the way, caps works fine when it comes to text string variables. I have a few conditionals like this one and it works fine.