public static void SystemMessageFrom(Creature creature, string from, string format, params object[] args)
{
var packet = new Packet(Op.Chat, creature.EntityId);
foreach (var msg in string.Format(format, args).Chunkify(100)) // Mabi displays up to 100 chars
{
packet.PutByte(0);
packet.PutString(from);
packet.PutString(msg);
packet.PutByte(true);
packet.PutUInt(0xFFFF8080);
packet.PutInt(0);
packet.PutByte(0);
creature.Client.Send(packet);
packet.Clear(packet.Op, packet.Id);
}
}