Just multiply by 2??

You didn't really give much of a use case, but just put aiCount * 2 there?
Ok here's my script which will probably help explain it lol.
Spoiler
[code
Scriptname BBDFlourScript extends ObjectReference
Ingredient Property Wheat Auto
Ingredient Property Flour Auto
Actor Property Player Auto
int WheatCount
Event OnActivate(ObjectReference akActionRef)
WheatCount = Player.GetItemCount(Wheat)
if WheatCount < 1
Debug.MessageBox("You need Wheat to use this Grain Mill.")
elseif WheatCount >= 1
Game.FadeOutGame(false, true, 2.0, 1.0)
Utility.Wait(2)
Player.RemoveItem(Wheat, WheatCount)
Player.AddItem(Flour, WheatCount)
Debug.MessageBox("You have ground Wheat into Flour.")
endif
EndEvent
[/code]
Basically I want to remove wheat in 2's, and add flour in 1s for every 2 wheat removed

Currently the script removes all your wheat and adds flour x however many wheat you had.
EDIT:
Changing the line
Player.AddItem(Flour, WheatCount)
to this:
Player.AddItem(Flour, WheatCount / 2)
Adds to the player the right amount of flour. So if the player had 3 wheat, they would only get 1 flour. But to only remove a number of wheats that's divisible by 2 is still my question mate
