added onchatdiabled and onchatenabled