Multiple commands order

Hi again!

I often trade music with other labels and have made a snippet with my playlists and where to put track link and also a goodbye message which I found here in the community where it's have a good week on mon, tue. Have a good day on wed, thur. Have a good weekend on fri, sat and sunday.

But when I implement it, it has some spacing issues so I try to fix it with Enter but it uses enter at wrong location and timing. Even with the wait command it won't be fixed. I can make a video again like my last topic to show what I mean.
I believe there is a better way to share snippets but I am not sure how
This is the snippet for now in this way:

Hey {gmail-firstname: type=single; default=there}

Thanks for adding our prio to your list!
Hope you're doing well.
We got {formtext: name=Track link; default=Track link} back here
{formmenu: Chill House :ocean: Deep House Vibes
Chill House 🌊 Deep House Vibes - playlist by Forever Young. | Spotify; Festival EDM Bangers
Festival EDM Bangers 2024 - playlist by Tracks To The Max | Spotify; Workout Motivation :weight_lifting_man: EDM GYM
MUSIC :muscle:
Workout Motivation 🏋️ EDM GYM MUSIC 2024 💪 - playlist by Forever Young. | Spotify; EDM Top 100
EDM 2024 (Top 100) 🔥 Ultra Music Festival 🔥 EDC 🔥 Tiesto 🔥 Hypertechno - playlist by Tracks To The Max | Spotify; Pop Hits
Pop Hits 🎤 2000s - 2024 - playlist by Forever Young. | Spotify; lofi study music | focus sessions :brain::books:
lofi study music | focus sessions 🧠📚 - playlist by dream but do not sleep | Spotify; Fresh EDM by Max Vermeulen
Fresh EDM 2023⚡ 🔥 Dance Hits 🔥 Future House 🔥 Party Hits 🔥 Festival Season 🔥 Tech House 🔥 Meduza - playlist by Max Vermeulen | Spotify; cols=24; multiple=yes}

{salutation={random-text: Enjoy your}; trim=yes}
{if: salutation=="Enjoy your"}Have a nice {if: {time: ddd} == "Mon" or {time: ddd} == "Tue"}week!{elseif: {time: ddd} === "Wed" or {time: ddd} == "Thu"}day!{else}weekend!{endif}
{else: trim=yes}{=salutation}{endif}
Hope to see you in the next trade :slight_smile:

This is the snippet version with spacing issues.

When I place Enter command in between playlists and the goodbye command then it acts too early and Enters on a weird location while performing the command. Any solution?

Here is an updated snippet with two changes:

  1. formatter=(value) -> join(value, "\n") setting on formmenu that separates options selected in formmenu with line breaks instead of commas
  2. trim=left instead of trim=yes on salutation variable. This is required to have line break before Have a nice ... message. Otherwise trim=yes trims everything before and after the variable including line breaks.

Hey {gmail-firstname: type=single; default=there}

Thanks for adding our prio to your list!
Hope you're doing well.
We got {formtext: name=Track link; default=Track link} back here
{formmenu: Chill House Deep House Vibes Chill House :ocean: Deep House Vibes - playlist by Forever Young. | Spotify; Festival EDM Bangers Festival EDM Bangers 2024 - playlist by Tracks To The Max | Spotify; Workout Motivation EDM GYM MUSIC Workout Motivation :weight_lifting_man: EDM GYM MUSIC 2024 :muscle: - playlist by Forever Young. | Spotify; EDM Top 100 EDM 2024 (Top 100) :fire: Ultra Music Festival :fire: EDC :fire: Tiesto :fire: Hypertechno - playlist by Tracks To The Max | Spotify; Pop Hits Pop Hits :microphone: 2000s - 2024 - playlist by Forever Young. | Spotify; lofi study music | focus sessions lofi study music | focus sessions :brain::books: - playlist by dream but do not sleep | Spotify; Fresh EDM by Max Vermeulen Fresh EDM 2023​:zap: :fire: Dance Hits :fire: Future House :fire: Party Hits :fire: Festival Season :fire: Tech House :fire: Meduza - playlist by Max Vermeulen | Spotify; cols=24; multiple=yes; formatter=(value) -> join(value, "\n")}

{salutation={random-text: Enjoy your}; trim=left}
{if: salutation=="Enjoy your"}Have a nice {if: {time: ddd} == "Mon" or {time: ddd} == "Tue"}week!{elseif: {time: ddd} === "Wed" or {time: ddd} == "Thu"}day!{else}weekend!{endif}
{else: trim=yes}{=salutation}{endif}
Hope to see you in the next trade

1 Like

Hey!

Thanks a lot. The trim left works. Didnt even have a trim on it at first
Appreciate it