Picade Arcade - get rid of messages after scripts

Hello forum,

I am asking myself how to avoid (or get rid of) certain messages appearing under RetroPie. My system is totally clean from any messages, except for the ones, that are appearing after calling a runcommand-onstartup.sh, which is loading a pattern for my plasma arcade buttons via “plasmactl --pattern [name of the pattern]” and is triggered when loading a rom.

RetroPie is than showing a message “Setting pattern to [name of the pattern]” on a black screen before loading a rom file.
I also have an runcommand-onend.sh that sets back the plasma LEDs to their initial state, and there I also get a message about this: “Setting pattern to default”
Same goes for two calls that i do with onscreensaver-start and onscreensaver-stop.

Those messages build up, so that there are several lines showing, which is quiet ugly and annoying.

Any idea on how to avoid such messages?

Thanks you very much

Edit: I managed to make things a bit better by adding a clear command to the en of the script. Better but would be prefer not even a flash …
I am just wondering, where these messages are coming from?

Ok, must have been a really difficult task.
I ll answere this by myself, maybe helpful for others seeking for an answere in the future.
Adding >/dev/null to the plasma pattern call does the trick.

plasmactl --pattern [name of the pattern] >/dev/null