Hi again, i just want to know if it is possible have a command or a trick to stop the "answer" dialog without putting the instruction in each "answer" dialog, i have a scrip like this:
answer "17.- ¿Por qué naufragó el Titanic?" with "Porque se durmió el capitán" or "Porque choco con otro barco" or "Porque chocó contra un iceberg"
if it is "Porque chocó contra un iceberg" then
   add 1 to ctotal
   correctas
else
   incorrectas
end if
answer "18.- ¿En qué paÃses actuales vivieron los fenicios?" with "En Egipto y Arabia Saudita" or "En Siria y LÃbano" or "En Israel y Palestina"
if it is "En Siria y LÃbano" then
   add 1 to ctotal
   correctas
else
   incorrectas
end if
end mouseUp
on correctas
   add 1 to countergood
   answer "respuesta correcta, vamos sigue adelante, llevas " && countergood && "correctas de un total de" && ctotal && "jugadas"
end correctas
on incorrectas
   add 1 to counterbad
   answer error  "No, no no, la que sigue" && counterbad && "contestadas incorrectamente"
end incorrectas
Regards
Greg
			
			
									
									
						how to leave
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
I've got into those situations and so far the best way I know of is to add this script to at least one of your questions:
			
			
									
									
						Code: Select all
Answer "Question?" with "Answer" and "Cancel"
If it is "Cancel" then exit mouseUp #or whatever the handler is - 
				greggarcia
- Posts: 33
- Joined: Mon Apr 27, 2009 3:32 pm
- Contact: