So, I tried to work a little with functions on the last few days.
As I do not know just yet how the whole text-inserting-thingy works, I'll attach the source code so you can have a look at it.
The programme works just fine. I would like to compress the two functions into one, though.
Having worked on many possible solutions myself, I have to admit that I cannot think of one, which is properly working, which might also be due to my lack of concentration.
Anyway, thanks for (possible) help!
-- Kolyamatic