So my code looks something like this.
Control Variables: #0001 Eventcaller = $gameTemp.reserveCommonEvent($gameVariables.value(1));
Loop
repeat above
Somehow that doesnt work and i dont understand why. Can someone explain?
I saw your other thread about this too, and I think there's some confusion here.
You asked people to tell you how to store a common event in a variable. They gave you the command to call a common event as a script call, but you said you didn't need to call it right away, and instead wanted to store it for later, so they suggested you store the common event ID in a variable when you wanted to 'reserve' it, and then call the actual command later.
What you appear to have done here instead, was saved a string into a variable, and that string contains the value of the variable you're saving it into, so every turn of the loop will increase what's in the variable, infinitely, until it causes an overflow and dies. Since you have no wait in your loop, that probably happens within a second of starting the event.
What exactly are you trying to do with this? The suggestion was to store the common event ID in the variable, and then use the script to call it later when you needed it. In two steps. The step that would reserve the common event would set the ID in the variable, the event that needs to call the common event would do so using the script call you have right there.
What you're doing is storing a recursive string into a variable, and then looping it so it constantly overwrites itself.