shipname
Private
Content
39 lines{=(comment):spaces names preserving spaces}
{=(uspc):{replace(, ):{replace( ,╬):{1}}}}
{=(tspc):{replace(, ):{replace( ,╬):{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}+)}}}}
{break({2}=={1}):Relationships need 2 peeps!}
{1} and {2}'s ship might be named:
> {name1}
or
> {name2}Raw JSON
{
"id": 646452,
"created_at": "2021-03-02T09:26:23.000Z",
"tag_name": "shipname",
"nsfw": false,
"owner_id": "526942791419428885",
"uses": 713,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "681882711945641997",
"sharer": "467716393853255711",
"content": "{=(comment):spaces names preserving spaces}\r\n{=(uspc):{replace(, ):{replace( ,╬):{1}}}}\r\n{=(tspc):{replace(, ):{replace( ,╬):{2}}}}\r\n\r\n{=(comment):length checking}\r\n{=(ulen):{index(end):{uspc} end}}\r\n{=(tlen):{index(end):{tspc} end}}\r\n\r\n{=(comment):finds the approximate middle of each name, taking into account the offset made during spacing}\r\n{=(uhalf):{m:trunc(({ulen}+3)/2)}}\r\n{=(thalf):{m:trunc(({tlen}+3)/2)}}\r\n\r\n{=(vowels):a e i o u}\r\n{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in reverse order}\r\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}}}}\r\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}}}}\r\n\r\n{=(comment):checks for vowel presence in the 3 characters centered around the middle character, in regular order}\r\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}}}\r\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}}}\r\n\r\n{=(comment):finds the consonant split for the user and target; first character in reverse order that is not a vowel}\r\n{=(ucsplt):{if({contains(false):{ucchk}}==true):{m:trunc({uhalf}+1-{index(false):{ucchk}})}|{uhalf}}}\r\n{=(tcsplt):{if({contains(false):{tcchk}}==true):{m:trunc({thalf}+1-{index(false):{tcchk}})}|{thalf}}}\r\n\r\n{=(comment):finds the vowel split for the user and target; first character in regular order that is a vowel}\r\n{=(uvsplt):{if({contains(true):{uvchk}}==true):{m:trunc({uhalf}{if({m:{ulen}%2}!=0.0):-1}+{index(true):{uvchk}})}|{m:trunc(1+{uhalf})}}}\r\n{=(tvsplt):{if({contains(true):{tvchk}}==true):{m:trunc({thalf}{if({m:{tlen}%2}!=0.0):-1}+{index(true):{tvchk}})}|{m:trunc(1+{thalf})}}}\r\n\r\n{=(comment):puts the names together}\r\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}\r\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}\r\n{=(name1):{replace(╬, ):{join():{uspc(+{ucsplt})}{tspc({tvsplt}+)}}}}\r\n{=(name2):{replace(╬, ):{join():{tspc(+{tcsplt})}{uspc({uvsplt}+)}}}}\r\n{break({2}=={1}):Relationships need 2 peeps!}\r\n{1} and {2}'s ship might be named:\r\n> {name1}\r\nor\r\n> {name2}",
"embed": "{}",
"last_fetched": "2026-10-21T00:32:04.378Z"
}