mlvl

Privateunrated

Content

22 lines
{=():}

{=(Comment):You can add a Custom Time Value to be returned if no args are specified. If You don't want to then just leave it blank}
{=(marriage):1631815442}

{=(Comment):Check for `(` and `)` which might break the tag}
{=(lp):%28}
{=(rp):%29}

{=(encoded):{urlencode:{args}}}

{=(encoded):{if(=={encoded}):{urlencode:{marriage}}|{encoded}}}
{=(check):{in({lp}):{encoded}} {in({rp}):{encoded}} {if({in({m:sgn({encoded})}):-1 0 1}==true):false|true}}

{break({contains(true):{check}}==true):You need to enter a valid unix timestamp!}
{break({encoded}>={unix}):Timestamp needs to be lower than current timestamp (`{unix}`)}

{=(lvl):{m:trunc(({unix}-{encoded})/604800)}}
Married on <t:{encoded}:F>

Last Level (`{lvl}`): <t:{m:trunc({encoded}+ ({lvl}*604800))}:F>
Next Level (`{m:trunc({lvl}+1)}`): <t:{m:trunc({encoded}+ (({lvl}+1)*604800))}:F>
Raw JSON
{
  "id": 1096447,
  "created_at": "2021-10-07T16:24:38.000Z",
  "tag_name": "mlvl",
  "nsfw": false,
  "owner_id": "760823877034573864",
  "uses": 18,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "806350909436461086",
  "sharer": "760823877034573864",
  "content": "{=():}\n\n{=(Comment):You can add a Custom Time Value to be returned if no args are specified. If You don't want to then just leave it blank}\n{=(marriage):1631815442}\n\n{=(Comment):Check for `(` and `)` which might break the tag}\n{=(lp):%28}\n{=(rp):%29}\n\n{=(encoded):{urlencode:{args}}}\n\n{=(encoded):{if(=={encoded}):{urlencode:{marriage}}|{encoded}}}\n{=(check):{in({lp}):{encoded}} {in({rp}):{encoded}} {if({in({m:sgn({encoded})}):-1 0 1}==true):false|true}}\n\n{break({contains(true):{check}}==true):You need to enter a valid unix timestamp!}\n{break({encoded}>={unix}):Timestamp needs to be lower than current timestamp (`{unix}`)}\n\n{=(lvl):{m:trunc(({unix}-{encoded})/604800)}}\nMarried on <t:{encoded}:F>\n\nLast Level (`{lvl}`): <t:{m:trunc({encoded}+ ({lvl}*604800))}:F>\nNext Level (`{m:trunc({lvl}+1)}`): <t:{m:trunc({encoded}+ (({lvl}+1)*604800))}:F>",
  "embed": "{}",
  "last_fetched": "2026-10-20T17:46:25.518Z"
}