School shooter warned of attack, in chat room