Choicescript help

so im working on my game and im stuck coding wise its a choice body error would love some help so i could get chapter one finished

startup line 234: Expected choice body
line 230 *label info_booth
line 231 after walking around for about half an hour you find a information booth and decide to ask a few things.
line 232 *choice
line 233 #excuse me but could you tell me where the officers quarters is?
line 234 upon hearing your question an ai voice says in a very monotone voice head down this hallway turn left at the end then turn right after you reach burger palace and it will be at the very end on the right.
line 235 Have i answered all of your inquiries or are you in need of further information?
line 236 *goto officers_quarter
line 237 #hey could you tell me where my daughter and i can get some food.
line 238 seconds after asking your question a monotone ai says turn left at the end of this hallway and there will be a burger palace approximately 100084 meter’s from here
line 239 or 62.18931420455 from here if you are in need of transportation you may use a rental car just slide your id here and everything will be set up and if your military personal than all living expenses will be paid for by the government
line 240 Have i answered all of your inquiries or are you in need of further information?
line 241 *goto officers_quarter

again would love some help

Hi, I think there might be a *goto or *finish missing after the first choice, after the “further information”
I am no expert, but could you also indicate which line is the line 234 ?
And there should be an indent (a space or tab) before the # for both options^^
Hope it helps.

You have no *goto after choice 1. That might be your first issue

did what you suggested still getting the choice of body error on line 234
pretty sure choicescript thinks that line 234 should be a choice but i want it to be dialog that shows up after i choose the first choice on line 234 also do you know how i could make it so you can pick multiple choices without changing the scene

thanks guys

From what I can see you are trying to do something like this:

*label info_booth
after walking around for about half an hour you find a information booth and decide to
ask a few things.
*choice
	#excuse me but could you tell me where the officers quarters is?
		upon hearing your question an ai voice says in a very monotone voice head
		down this hallway turn left at the end then turn right after you reach
		burger palace and it will be at the very end on the right.
		*goto question
	#hey could you tell me where my daughter and i can get some food.
		seconds after asking your question a monotone ai says turn left at the
		end of this hallway and there will be a burger palace approximately
		100084 meter's from here.
		or 62.18931420455 from here if you are in need of transportation you
		may use a rental car just slide	your id here and everything will be
		set up and if your military personal than all living expenses will be
		paid for by the government.
		*goto question
*label question
Have i answered all of your inquiries or are you in need of further information?
*choice
	#Yes
		*goto officers_quarter
	#No
		*goto info_booth

Although I would probably write it slightly differently…

1 Like

Make sure you put in the “Tabs” so that everything is on the correct indent. Your choices should each be indented and then each part that occurs due to the choice above should be indented as well. I cant see if you’ve done that on the original request due to the way you’ve formatted it but I’m hoping you have else that will also cause issues.

One other thing - you can not mix indents and spaces, so if you decide to go with one be sure that you are consistent - that is why I always use spaces. It is easier to follow the chain that way. ymmv.

Thank you so fucking much you guys are the best it works turns out it that i had indented with spaces but after i used tabs it fixed everything thanks for the feedback guys i am officially unstuck and can continue my story again you guys are the best