sorry for the late answer but i wanted to thank you - that part now seems to work.
Even though there is another part that has something to do with it and that is causing problems now.
If all the switches that are connected are pressed (a local variable gets changed) and because of that a block appears, but when one of them isn't pressed any longer the block is still there.
just when all switches aren't pressed anymore the block dissappears again.
What i want though is that the block is there just as long as all switches are pressed.
here's the code example i hope it helps to understand what i want to say:
I thought it's better to ask it here at this topic because it is somewhat connected than creating another topic - i hope that is ok :) .
It would be veryy great if someone could help me