Auto log in and start sessions?

I am on plasma 6 and am struggling with what I want to accomplish.
Basically I want to auto log in without password and start a wayland session on tty3 and a gamescope session on tty4 so I can easily and quickly swap between the two of them
I don’t want to use a display manager and gamescipe session needs to be displayed first .
I have tried service files etc and sh files but no luck .
Here is my sh file any help would be appreciated

Start dbus

/usr/bin/dbus-daemon --system


if [ “$(tty)” = “/dev/tty1” ]; then
export XDG_RUNTIME_DIR=/run/user/$(id -u marc)
echo “marc” | /usr/bin/login -f marc

Start Wayland session

if [ “$(tty)” = “/dev/tty3” ]; then

Start gamescipe

if [ “$(tty)” = “/dev/tty4” ]; then

And service file

Description=Auto Start Script