using(ScriptAPI) { ItemCount = AddByte("ItemCount"); PacketType = AddByte("PacketType"); if(PacketType == 9) { StartNode("InventoryList"); AddByte("unk"); for(i = 0; i < ItemCount; i++) { } } }