Dragonslayer's Game Errors

Hey this is a game in which you are going to find a pile of errors so enjoy, and do tell me how to code. :slight_smile:

 *tittle [b]CORE[b]


"You are a new recruit agent, in a secret agency called the "CORE". Your first mission is to go to Egypt undercover as a military archaeologist and bring back the plans of a Terrorist Group that is detonating a bomb on the whole European Continent. But that is only the beginning to a very big problem. Can you become the Greatest Agent in the "CORE" and save all of Europe? But be aware, there's more to it than you expect...."

 *finish 

  Alright. before we get on with the game I will ask you some simple questions.

  First of All... are you Male or Female

 *fake_choice
  
  #MAle
   So you are male
   
  #Female
   so you are female
   
What is your good name?
 *fake_choice 
  #Jack
   So your name is Jack, but the other agents in the game will call you Agent.J as a codename.
 *finish
  #Bruce
   So your name is Bruce, but the other agents will call you Agent.B as a codename.
 *finish
  #Jacob
   So your name is Jacob but the other agents will call you Agent.JB as a codename.
 *finsh
  #Blake
   So your name is Blake but the other agents in the game will call you Agent.BK as a code name.
 *finish

 What is your age in the Game?
*fake_choice
  #18
   You are a young, cool smooth agent.
 *finish
  #30
   You first had a job of a pizza delivery guy and spent half your time delivering pizzas but now you have left the past and become a agent.
 *finsh
  #22
   You still have some time left before there are cramps in your legs so use your time well.
 *finish
 *page_break
 
  Alright now, on with the game!!!
*page_break

 You are sitting in a small room, waiting for someone to give you your briefing. It's your first day, you are nervous. Small drops of sweat are coming down from your face.
  
 Suddenly a tall man steps in from the door."Are you the new Agent?"Whatdo you reply?
   
 *fake_choice

  #Yes,I am.
   My name is Agent.G
  #Obviously
   Hmmm....OK.
  #Who wants to know!
   Uh...... OK, good.

 Then Agent.G escorts  you to your boss Mr.K. On the way Agent.G asks you some small questions. You notice  that his accent  is very strange, but you do not intend to ask him about it.
 *page_break

 You enter the office of Mr.K while Agent.G stands outside. Then you hear the door close behind you. Inside the room it is very pleasant  and quiet. You slowly sit on the sofa which is very comfy. "Hello,my name  is Mr.K as Agent.G told you.""I am the head of CORE. I will be briefing you 
on your mission to Egypt."When Mr.K is done giving you a briefing he asks you "Do you want to have tea? or you want to go and have alook around." 
 *fake_choice
  #Sit for tea.
   You decide to sit for tea and talk with Mr.K.After a while you leave the room.
 *finish
  #Have a look around.
   You decide to go outside and have alook around.You leave the room  in silence.
 *finish

O.M.G. You even spelled title wrong…

For coding info take a look at this forum threat:

Also have a look at http://www.choiceofgames.com/forum/discussion/3002/a-basic-tutorial-on-name-relationship-and-gender-variables

The links provided for you by @Cecilia_Rosewood and @FairyGodfeather are good thing to read about @Dragonslayer

For the “startup.txt” you should code something like this.

*title CORE
*author Dragonslayer

*scene_list
	startup
	next

"You are a new recruit agent, in a secret agency called the "CORE". Your first mission is to go to Egypt undercover as a military archaeologist and bring back the plans of a Terrorist Group that is detonating a bomb on the whole European Continent. But that is only the beginning to a very big problem. Can you become the Greatest Agent in the "CORE" and save all of Europe? But be aware, there's more to it than you expect...."
*finish

For the next scene “next.txt”

Alright. before we get on with the game I will ask you some simple questions.

First of All... are you Male or Female
*fake_choice
	#Male
		*set gender "Male"
		So you are male
	#Female
		so you are female
		*set gender "Female"
		
What is your good name?
*fake_choice 
	#Jack
		*set name "Jack"
		So your name is Jack, but the other agents in the game will call you Agent.J as a codename.
	#Bruce
		*set name "Bruce"
		So your name is Bruce, but the other agents will call you Agent.B as a codename.
	#Jacob
		*set name "Jacob"
		So your name is Jacob but the other agents will call you Agent.JB as a codename.
	#Blake
		*set name "Blake"
		So your name is Blake but the other agents in the game will call you Agent.BK as a code name.

What is your age in the Game?
*fake_choice
	#18
		*set age "18"
		You are a young, cool smooth agent.
	#30
		*set age "30"
		You first had a job of a pizza delivery guy and spent half your time delivering pizzas but now you have left the past and become a agent.
	#22
		*set age "22"
		You still have some time left before there are cramps in your legs so use your time well.

Alright now, on with the game!!!
*page_break

You are sitting in a small room, waiting for someone to give you your briefing. It's your first day, you are nervous. Small drops of sweat are coming down from your face.

Suddenly a tall man steps in from the door. "Are you the new Agent?"What do you reply?
*fake_choice
	#Yes,I am.
		My name is Agent.G
	#Obviously
		Hmmm....OK.
	#Who wants to know!
		Uh...... OK, good.

Then Agent.G escorts  you to your boss Mr.K. On the way Agent.G asks you some small questions. You notice  that his accent  is very strange, but you do not intend to ask him about it.
*page_break

You enter the office of Mr.K while Agent.G stands outside. Then you hear the door close behind you. Inside the room it is very pleasant  and quiet. You slowly sit on the sofa which is very comfy. 

"Hello,my name  is Mr.K as Agent.G told you." "I am the head of CORE. I will be briefing you on your mission to Egypt."When Mr.K is done giving you a briefing he asks you "Do you want to have tea? or you want to go and have alook around."

*fake_choice
	#Sit for tea.
		You decide to sit for tea and talk with Mr.K.After a while you leave the room.
	#Have a look around.
		You decide to go outside and have alook around.You leave the room  in silence.

*finish The End...

Thanks man! Alot of help. btw, How many tabs for a choice code: #

Now it says Non Existing Command…

I copy pasted this text but no.

@Aera You don’t need quotes around numbers, just string variables.

So it’s

*set age 30

or

*set age “thirty”

The former meaning that you can then do

*if age > 30
Wow you’re really old!

And

It’s your birthday
*set age +1

@Dragonslayer Does it tell you what line the non-existing command is on?

@FairyGodfeather

no

Is it because you typed *tittle instead of title?

Whoops my bad, getting sleepy. @FairyGodfeather thank you for that reminder.

I think the non-existing var is that I created some for the startup.txt @Dragonslayer put this bellow this code.

*scene_list
	startup
	next

*create name "unknown"
*create gender "unknown"
*create age "unknown"

That should should fix the non-existing thing.

Worked only till the first page…

@Dragonslayer

Make another txt. on the scene folder flies named as “next.txt”

Then add the second part of the codes there since the first part is *finish

@Aera Worked! Thanks A lot guys. Now this thread should be closed.