mashup1
Private
Content
57 lines{delete}
{=(pre):!}
{=(tag):mashup}
{=(footer):{pre}{tag} · {user}}
{embed(color):#000001}
{=(em1):<:YYarrowP1:1189675975450038443>}
{=(em2):<a:YOMatch2:1218561361940971722>}
{react:{em2}}
{=(comment):spaces names preserving spaces}
{=(comma):{in(,):{args}}}
{=(nargs1):{if({comma}==false):{join(, ):{args}}|{args}}}
{=(nargs2):{join( ):{nargs1}}}
{=(items):{nargs2}}
{=(i1):{list(0):{items}}}
{=(i2):{list(1):{items}}}
{=(valid):{if({i2}!=):true|false}}
{=(uspc):{replace(, ):{replace( ,╬):{nargs2(1):,}}}}
{=(tspc):{replace(, ):{replace( ,╬):{nargs2(2):,}}}}
{=(comment):length checking}
{=(ulen):{index(end):{uspc} end}}
{=(tlen):{index(end):{tspc} end}}
{=(comment):finds the approximate middle of each name, taking into account the offset made during spacing}
{=(uhalf):{m:trunc(({ulen}+3)/2)}}
{=(thalf):{m:trunc(({tlen}+3)/2)}}
{=(vowels):a e i o u}
{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in reverse order}
{=(ucchk):{contains({uspc({m:trunc({uhalf}+1)})}):{vowels}} {contains({uspc({uhalf})}):{vowels}}{if({m:{ulen}%2}!=0.0): {contains({uspc({m:trunc({uhalf}-1)})}):{vowels}}}}
{=(tcchk):{contains({tspc({m:trunc({thalf}+1)})}):{vowels}} {contains({tspc({thalf})}):{vowels}}{if({m:{tlen}%2}!=0.0): {contains({tspc({m:trunc({thalf}-1)})}):{vowels}}}}
{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in regular order}
{=(uvchk):{if({m:{ulen}%2}!=0.0):{contains({uspc({m:trunc({uhalf}-1)})}):{vowels}} }{contains({uspc({uhalf})}):{vowels}} {contains({uspc({m:trunc({uhalf}+1)})}):{vowels}}}
{=(tvchk):{if({m:{tlen}%2}!=0.0):{contains({tspc({m:trunc({thalf}-1)})}):{vowels}} }{contains({tspc({thalf})}):{vowels}} {contains({tspc({m:trunc({thalf}+1)})}):{vowels}}}
{=(comment):finds the consonant split for the user and target; first character in reverse order that is not a vowel}
{=(ucsplt):{if({contains(false):{ucchk}}==true):{m:trunc({uhalf}+1-{index(false):{ucchk}})}|{uhalf}}}
{=(tcsplt):{if({contains(false):{tcchk}}==true):{m:trunc({thalf}+1-{index(false):{tcchk}})}|{thalf}}}
{=(comment):finds the vowel split for the user and target; first character in regular order that is a vowel}
{=(uvsplt):{if({contains(true):{uvchk}}==true):{m:trunc({uhalf}{if({m:{ulen}%2}!=0.0):-1}+{index(true):{uvchk}})}|{m:trunc(1+{uhalf})}}}
{=(tvsplt):{if({contains(true):{tvchk}}==true):{m:trunc({thalf}{if({m:{tlen}%2}!=0.0):-1}+{index(true):{tvchk}})}|{m:trunc(1+{thalf})}}}
{=(comment):puts the names together}
{=(comment):name1 is user/target, with user ending on last consonant in approx middle of name and target starting with first vowel in approx middle of name}
{=(comment):name2 is target/user, with target ending on last consonant in approx middle of name and user starting with first vowel in approx middle of name}
{=(name1):{replace(╬, ):{join():{uspc(+{ucsplt})}{tspc({tvsplt}+)}}}}
{=(name2):{replace(╬, ):{join():{tspc(+{tcsplt})}{uspc({uvsplt}+)}}}}
{=(error):Mashups need at least 2 words! Separate multi-word name strings with a comma! Exclamatory!!}
{=(t1):__{upper:{i1} + {i2}}__}
{=(t2):__WORD MASHUP__}
{=(title):{if({valid}==true):{t1}|{t2}}}
{=(desc):{em1}{name1}
***or***
{em1}{name2}}
{=(desc):{if({valid}==true):{desc}|{error}}}Embed
1 line{"color": 5198940, "title": "{title}", "fields": [{"name": "Debug", "value": "Comma: `{comma}`\nNargs1: `{nargs1}`\nNargs2: `{nargs2}`\nValid: `{valid}`\nI1: `{i1}`\nI2: `{i2}`\n", "inline": false}], "footer": {"text": "{footer}"}, "description": "{desc}"}Raw JSON
{
"id": 2063821,
"created_at": "2024-07-18T05:09:07.000Z",
"tag_name": "mashup1",
"nsfw": false,
"owner_id": "935523589640310854",
"uses": 20,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1262947393515687947",
"sharer": "935523589640310854",
"content": "{delete}\n{=(pre):!}\n{=(tag):mashup}\n{=(footer):{pre}{tag} · {user}}\n{embed(color):#000001}\n{=(em1):<:YYarrowP1:1189675975450038443>}\n{=(em2):<a:YOMatch2:1218561361940971722>}\n{react:{em2}}\n{=(comment):spaces names preserving spaces}\n{=(comma):{in(,):{args}}}\n{=(nargs1):{if({comma}==false):{join(, ):{args}}|{args}}}\n{=(nargs2):{join( ):{nargs1}}}\n{=(items):{nargs2}}\n{=(i1):{list(0):{items}}}\n{=(i2):{list(1):{items}}}\n{=(valid):{if({i2}!=):true|false}}\n{=(uspc):{replace(, ):{replace( ,╬):{nargs2(1):,}}}}\n{=(tspc):{replace(, ):{replace( ,╬):{nargs2(2):,}}}}\n\n{=(comment):length checking}\n{=(ulen):{index(end):{uspc} end}}\n{=(tlen):{index(end):{tspc} end}}\n\n{=(comment):finds the approximate middle of each name, taking into account the offset made during spacing}\n{=(uhalf):{m:trunc(({ulen}+3)/2)}}\n{=(thalf):{m:trunc(({tlen}+3)/2)}}\n\n{=(vowels):a e i o u}\n{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in reverse order}\n{=(ucchk):{contains({uspc({m:trunc({uhalf}+1)})}):{vowels}} {contains({uspc({uhalf})}):{vowels}}{if({m:{ulen}%2}!=0.0): {contains({uspc({m:trunc({uhalf}-1)})}):{vowels}}}}\n{=(tcchk):{contains({tspc({m:trunc({thalf}+1)})}):{vowels}} {contains({tspc({thalf})}):{vowels}}{if({m:{tlen}%2}!=0.0): {contains({tspc({m:trunc({thalf}-1)})}):{vowels}}}}\n\n{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in regular order}\n{=(uvchk):{if({m:{ulen}%2}!=0.0):{contains({uspc({m:trunc({uhalf}-1)})}):{vowels}} }{contains({uspc({uhalf})}):{vowels}} {contains({uspc({m:trunc({uhalf}+1)})}):{vowels}}}\n{=(tvchk):{if({m:{tlen}%2}!=0.0):{contains({tspc({m:trunc({thalf}-1)})}):{vowels}} }{contains({tspc({thalf})}):{vowels}} {contains({tspc({m:trunc({thalf}+1)})}):{vowels}}}\n\n{=(comment):finds the consonant split for the user and target; first character in reverse order that is not a vowel}\n{=(ucsplt):{if({contains(false):{ucchk}}==true):{m:trunc({uhalf}+1-{index(false):{ucchk}})}|{uhalf}}}\n{=(tcsplt):{if({contains(false):{tcchk}}==true):{m:trunc({thalf}+1-{index(false):{tcchk}})}|{thalf}}}\n\n{=(comment):finds the vowel split for the user and target; first character in regular order that is a vowel}\n{=(uvsplt):{if({contains(true):{uvchk}}==true):{m:trunc({uhalf}{if({m:{ulen}%2}!=0.0):-1}+{index(true):{uvchk}})}|{m:trunc(1+{uhalf})}}}\n{=(tvsplt):{if({contains(true):{tvchk}}==true):{m:trunc({thalf}{if({m:{tlen}%2}!=0.0):-1}+{index(true):{tvchk}})}|{m:trunc(1+{thalf})}}}\n\n{=(comment):puts the names together}\n{=(comment):name1 is user/target, with user ending on last consonant in approx middle of name and target starting with first vowel in approx middle of name}\n{=(comment):name2 is target/user, with target ending on last consonant in approx middle of name and user starting with first vowel in approx middle of name}\n{=(name1):{replace(╬, ):{join():{uspc(+{ucsplt})}{tspc({tvsplt}+)}}}}\n{=(name2):{replace(╬, ):{join():{tspc(+{tcsplt})}{uspc({uvsplt}+)}}}}\n{=(error):Mashups need at least 2 words! Separate multi-word name strings with a comma! Exclamatory!!}\n{=(t1):__{upper:{i1} + {i2}}__}\n{=(t2):__WORD MASHUP__}\n{=(title):{if({valid}==true):{t1}|{t2}}}\n{=(desc):{em1}{name1}\n***or***\n{em1}{name2}}\n{=(desc):{if({valid}==true):{desc}|{error}}}",
"embed": "{\"color\": 5198940, \"title\": \"{title}\", \"fields\": [{\"name\": \"Debug\", \"value\": \"Comma: `{comma}`\\nNargs1: `{nargs1}`\\nNargs2: `{nargs2}`\\nValid: `{valid}`\\nI1: `{i1}`\\nI2: `{i2}`\\n\", \"inline\": false}], \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{desc}\"}",
"last_fetched": "2026-10-20T19:40:45.072Z"
}