maze

Privateunrated

Content

24 lines
{=(comment):Some maze settings as variables for slightly more convienent changing. See http://maze5.de/maze-5/create-a-maze-parameters/ for details.}
{=(crossingdefault):0}
{=(crossinglimit):6}
{=(numchk):{if({1}==):{crossingdefault}|{if({1}=={m:trunc({1}/1)}):{1}|{crossingdefault}}}}
{=(crossings):{if({numchk}>{crossinglimit}):{crossinglimit}|{numchk}}}

{=(comment):this makes it random every second}
{=(seed):{strf:%s}}

{=(comment):row and column max number is 12}
{=(rows):12}
{=(columns):12}

{=(comment):hex colors here, no #}
{=(bgcolor):2f3136}
{=(linecolor):ffffff}

{=(comment):Other parts of the URL do not have variables set to discourage naive editing. See http://maze5.de/maze-5/create-a-maze-parameters/ for details.}
{=(url):http://maze5.de/cgi-bin/maze?sample=1&type=4&rows={rows}&columns={columns}&crossings={crossings}&seed={seed}&algorithm=backtracker&algorithm=0.5&foreground=%23{linecolor}&background=%23{bgcolor}&bordersize=16&cellsize=32&linewidth=2.5&format=png}

{=(help):Use the `maze` tag to generate a random maze image.
Provide a number from 1-{crossinglimit} to add crossings to the maze to increase difficulty.}
{=():}{override}
{{if({lower:{1}}==help):c:choose {help},{help}}}

Embed

1 line
{"color": 3092790, "image": {"url": "{if({lower:{1}}==help):error|{url}}"}}
Raw JSON
{
  "id": 875273,
  "created_at": "2021-06-08T01:34:38.000Z",
  "tag_name": "maze",
  "nsfw": false,
  "owner_id": "719230705900716175",
  "uses": 4,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "844261662495342592",
  "sharer": "719230705900716175",
  "content": "{=(comment):Some maze settings as variables for slightly more convienent changing. See http://maze5.de/maze-5/create-a-maze-parameters/ for details.}\n{=(crossingdefault):0}\n{=(crossinglimit):6}\n{=(numchk):{if({1}==):{crossingdefault}|{if({1}=={m:trunc({1}/1)}):{1}|{crossingdefault}}}}\n{=(crossings):{if({numchk}>{crossinglimit}):{crossinglimit}|{numchk}}}\n\n{=(comment):this makes it random every second}\n{=(seed):{strf:%s}}\n\n{=(comment):row and column max number is 12}\n{=(rows):12}\n{=(columns):12}\n\n{=(comment):hex colors here, no #}\n{=(bgcolor):2f3136}\n{=(linecolor):ffffff}\n\n{=(comment):Other parts of the URL do not have variables set to discourage naive editing. See http://maze5.de/maze-5/create-a-maze-parameters/ for details.}\n{=(url):http://maze5.de/cgi-bin/maze?sample=1&type=4&rows={rows}&columns={columns}&crossings={crossings}&seed={seed}&algorithm=backtracker&algorithm=0.5&foreground=%23{linecolor}&background=%23{bgcolor}&bordersize=16&cellsize=32&linewidth=2.5&format=png}\n\n{=(help):Use the `maze` tag to generate a random maze image.\nProvide a number from 1-{crossinglimit} to add crossings to the maze to increase difficulty.}\n{=():}{override}\n{{if({lower:{1}}==help):c:choose {help},{help}}}",
  "embed": "{\"color\": 3092790, \"image\": {\"url\": \"{if({lower:{1}}==help):error|{url}}\"}}",
  "last_fetched": "2026-10-20T16:43:28.014Z"
}