Complex sentence: Depending on the teacher, they might have to stand for as long as half an hour and throwers of spitballs, passing notes to boys or pulling on a girl's hair could prompt the measure.
Split into simpler sentences: Depending on the teacher, they might have to stand for as long as half an hour. Throwing spitballs, passing notes to boys or pulling on a girl's hair could prompt the measure.