Choose from list set up cancel and Ok buttons

I have a working script but when I run the script like this it allows me to cancel the script, but if I select ok it still stops. How can I get it to function correctly

set ItemTypesList to {"ER", "ER multi stud", "NeckWear", "Ring", "WristWear"}
		choose from list ItemTypesList with prompt "Choose Item"
		if result = {button returned:"Cancel"} then
		else if result = {button returned:"Ok"} then
do something

Many Thanks

Choose from list returns a list of the choices (even if only one) if you click “OK”. It does not return the button state if you click “Cancel”, it returns false

Excellent all running ok now! Many thanks!