public static void System_Broadcast(string from, string format, params object[] args)
{
var packet = new Packet(Op.Chat, MabiId.Broadcast);
foreach (var msg in string.Format(format, args).Chunkify(100)) // Mabi displays up to 100 chars
{
packet.PutByte(0);
packet.PutString("<{0}>", from);
packet.PutString(msg);
packet.PutByte(true);
packet.PutUInt(0xFFFF8080);
packet.PutInt(0);
packet.PutByte(0);
ChannelServer.Instance.World.Broadcast(packet);
packet.Clear(packet.Op, packet.Id);
}
}