static void OnAnnouncment(WorldClient client, CMSG msgID, BinReader data) { string ChanName = (string)data.ReadString(); if (ChanName != null) { Channel Chan; if ((Chan = ChanExists(ChanName)) != null) { if (Chan.announcment) { Chan.AnnouncmentOff(client); } else { Chan.AnnouncmentOn(client); } } } }