yoda

This translates simple sentences int Yoda form. It works best with sentences at least 3 words long that aren't too complicated.

Sharedunrated

Content

12 lines
{delete}
{=(count):{index($c$):{args} $c$}}
{break({count}==3):
```css
{args(3)}, {args(+2)}. Hrrrm...
```}
{=(mod):{m:{count}%2}}
{=(firsthalf):{m:trunc({count}/2)}}
{=(backhalf):{if({mod}<1):{m:1+{m:round({count}/2)}}|{m:1+{m:round({count}/2)}}}}
```css
{args({m:round({backhalf})}+)}, {args(+{firsthalf})}. Hrrrm...
```
Raw JSON
{
  "id": 99221,
  "created_at": "2019-12-17T03:55:43.000Z",
  "tag_name": "yoda",
  "nsfw": false,
  "owner_id": "405581185813577749",
  "uses": 92,
  "description": "This translates simple sentences int Yoda form. It works best with sentences at least 3 words long that aren't too complicated.",
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "616495828735098881",
  "sharer": "405581185813577749",
  "content": "{delete}\n{=(count):{index($c$):{args} $c$}}\n{break({count}==3):\n```css\n{args(3)}, {args(+2)}. Hrrrm...\n```}\n{=(mod):{m:{count}%2}}\n{=(firsthalf):{m:trunc({count}/2)}}\n{=(backhalf):{if({mod}<1):{m:1+{m:round({count}/2)}}|{m:1+{m:round({count}/2)}}}}\n```css\n{args({m:round({backhalf})}+)}, {args(+{firsthalf})}. Hrrrm...\n```",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:47:37.450Z"
}