$gameActors.actor(actorIdinserthere).exp <-- not sure if this is the correct syntax for the command.
exchange actorIdinserthere with gameParty.members()[1] which returns the actor id on that member slot, so it should look like:
$gameActors.actor(gameParty.members()[1]).exp
Edit:
and here maybe a mistake i spoted in your code that had nothing to do with this:
Control Variables: #0006 Experience = first character exp
if switch A is ON:
Control Variables: #0006 Experience +=1
Control Variables: #0007 Moreexp = first character exp #<This line seems useless, it gets overwritten in the next line. Or the next line needs a + instead of a =, cant tell, input missing.
Control Variables: #0007 Moreexp = Experience
end
Control Variables: #0006 Experience = first character exp
you can do it with eventing alone, but that is more tedious.
control variable game data ID of actor in position 1
then a branch checking which actor this is, with a branch for every possible actor.
that is the disadvantage of the event version: it has no indirect referencing and you'll need a fixed sequence for each actor.
or you can mix, getting the ID by the control variable event and then use that for the direct script command.
i was doing it with events but.. it seems dull, since the branches should be identical for each actor... 🙁