# Game scoring help

**URL:** <https://forum.kirupa.com/t/game-scoring-help/191722>\
**Category:** programming\
**Created:** [June 22, 2006, 2:48pm UTC](https://forum.kirupa.com/t/game-scoring-help/191722 "2006-06-22T14:48:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david2k1](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@david2k1](https://forum.kirupa.com/u/david2k1)\
**Post date:** [June 22, 2006, 2:48pm UTC](https://forum.kirupa.com/t/game-scoring-help/191722/1 "2006-06-22T14:48:35Z")

</div>

I am working on this drag and drop game where you have two columns. You have to drag each term to the correct column and then press “submit” to see if you got them all right.

I am having trouble with the script on the submit button:

```auto
on (press) {

	if (((getProperty("/a2", _droptarget) eq ("/b1")) or
	((getProperty("/a2", _droptarget) eq ("/b2")) or 
	((getProperty("/a2", _droptarget) eq ("/b3")) or 
	((getProperty("/a2", _droptarget) eq ("/b4")) and 
	((getProperty("/a4", _droptarget) eq ("/b1")) or
	((getProperty("/a4", _droptarget) eq ("/b2")) or 
	((getProperty("/a4", _droptarget) eq ("/b3")) or 
	((getProperty("/a4", _droptarget) eq ("/b4")) and
	((getProperty("/a5", _droptarget) eq ("/b1")) or
	((getProperty("/a5", _droptarget) eq ("/b2")) or 
	((getProperty("/a5", _droptarget) eq ("/b3")) or 
	((getProperty("/a5", _droptarget) eq ("/b4")) and
	((getProperty("/a6", _droptarget) eq ("/b1")) or
	((getProperty("/a6", _droptarget) eq ("/b2")) or 
	((getProperty("/a6", _droptarget) eq ("/b3")) or 
	((getProperty("/a6", _droptarget) eq ("/b4")))){
	tellTarget("/sound"){ gotoAndPlay(2); }
										
											 
											
}
	else if 

```

I keep getting a syntac error. Any suggestions or help on how this could be fixed?

Thank you
