using (ScriptAPI) { AddByte("unk"); AddField("Charname",20); Length = AddByte("MessageLength"); AddField("Message", MessageLength); }