How do I code if apples are greater 11 limes increase by 4

Variable 0001:apples

Variable 0002:limes

if (apples > 11){ limes += 4;}^ How do I properly with no errors code in a script in RPG Maker VX Ace scriptingif apples are greater than 11

limes gets increased by 4
Going go ahead and assume you mean Event Command Script function:

Code:
if $game_variables[1] > 11  $game_variables[4] += 4end
You can also make it shorter:

Code:
$game_variables[4] += 4 if $game_variables[1] > 11

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-code-if-apples-are-greater-11-limes-increase-by-4.54363/