!DreamVision #Version 1.1

HeaderList
	FlagNeeded [NONE]	 #don't need a flag
	FlagNeeded [TALKED ONCE] #talked once!
	FlagNeeded [TALKED TWICE] #talked twice!
end

FlagNeeded [NONE]
	TextWindow "NATH: So here is the beta of the scripting language."
	TextWindow "NATH: It's pretty flexible too!"	
	SetFlag [TALKED ONCE]
end #end of first script.

FlagNeeded [TALKED ONCE]
	TextWindow "The flag system is extremely easy to use and fast."
        TextWindow "It's reading right from the disk."
        RemoveFlag [TALKED ONCE]
	SetFlag [TALKED TWICE]
end

FlagNeeded [TALKED TWICE]
	RemoveFlag [TALKED TWICE]
	TextWindow "Here is an example of what will happen if you use an invalid action."
	TextWindow "The next command will crash the script."
	ChoiceWindow YES NO end
end
