Warning about 529s distributions and scholarships

How about if it goes directly to the school, and then the school refunds the money?