cleaup if(newscores) to simplify
select the right trigger after closing the trigger command window