The messages claimed that small bombs had been planted in the school buildings and demanded $30,000 to defuse them.