convert
Privateunrated
Content
50 lines{=():}
{=(largs):{lower:{args}}}
{=(gru):{replace(oz, ounces):{replace(kg, kilograms):{replace(lb, pounds):{replace(ton, tons):{replace(gm, grams):{replace(st, stone):{largs(1)}}}}}}}}
{=(exe):to lb to oz to ton to gm to st to kg}
{=(.exe):{replace(., ):{exe}}}
{=(sho):lb oz ton}
{=(a):{if({largs(2+):lb}==to oz):*16|{if({largs(2+):ton}==to oz):*32000|{if({largs(2+):oz}==to oz):*1|
{if({largs(2+):lb}==to lb):*1|
{if({largs(2+):oz}==to lb):/16|
{if({largs(2+):ton}==to lb):*2000|
{if({largs(2+):ton}==to ton):*1|
{if({largs(2+):lb}==to ton):/2000|
{if({largs(2+):oz}==to ton):*32000|{if({largs(2+):kg}==to kg):*1|
{if({largs(2+):lb}==to kg):/2.205|
{if({largs(2+):oz}==to kg):/35.274|{if({largs(2+):ton}==to kg):*907|
{if({largs(2+):kg}==to lb):*2.205|
{if({largs(2+):kg}==to ton):/907|
{if({largs(2+):kg}==to oz):*35.274|
{if({largs(2+):gm}==to gm):*1|
{if({largs(2+):gm}==to lb):/454|
{if({largs(2+):gm}==to oz):/28.35|
{if({largs(2+):gm}==to ton):/907185|
{if({largs(2+):gm}==to kg):/1000|
{if({largs(2+):lb}==to gm):*454|
{if({largs(2+):ton}==to gm):*907185|
{if({largs(2+):oz}== to gm):*28.35|
{if({largs(2+):kg}==to gm):*1000|
{if({largs(2+):st}==to st):*1|
{if({largs(2+):st}==to gm):*6350|
{if({largs(2+):st}==to lb):*14|
{if({largs(2+):st}==to kg):*6.35|
{if({largs(2+):st}==to ton):/143|
{if({largs(2+):st}==to oz):*224|
{if({largs(2+):lb}==to st):/14|
{if({largs(2+):kg}==to st):/6.35|
{if({largs(2+):gm}==to st):/6350|
{if({largs(2+):oz}==to st):/224|
{if({largs(2+):ton}==to stone):*143}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{=(tt):{if({in(lb):{largs(1)}}==true):lb|{if({in(ton):{largs(1)}}==true):ton|{if({in(oz):{largs(1)}}==true):oz|{if({in(kg):{largs(1)}}==true):kg|{if({in(gm):{largs(1)}}==true):gm|{if({in(st):{largs(1)}}==true):st}}}}}}}
{=(bb):{if({largs(3)}==ounces):oz.|{if({largs(3)}==tons):ton(s).|{if({largs(3)}==pounds):lb.|{if({largs(3)}==kilograms):kg.|{if({largs(3)}==grams):gm.|{if({largs(3)}==stone):st.}}}}}}}
{=(thing):{m:{args(1):{tt}}{a}} {bb}}
{{if({args(1):{tt}}!={m:trunc({args(1):{tt}}/1)}):c: echo You either didn't enter a number, or entered a incorrect weight measurement ya hoe. Current weight measurements are `gm`, `st`, `kg`, `ton`, `lb`, and `oz`.|{if({in({largs(2+)}):{.exe}}==false):c: echo That isn't a valid weight conversion numbnuts! Current conversions are `to gm` for grams, `to st` for stone, `to lb` for pounds, `to oz` for ounces, `to ton` for tons, and `to kg` for kilograms.}}}
{=(hex):A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0}
{=(randhex):{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}}
{embed(color):#{randhex}}Embed
1 line{"color": 5198940, "image": {"url": "{if({args(1):{tt}}!={m:trunc({args(1):{tt}}/1)}):You need to enter a number!!|{if({in({largs(2+)}):{.exe}}==false):tons`.}}"}, "title": "Success! Conversion made!", "description": "{gru} converted {args(2+)} is... `{thing}`"}Raw JSON
{
"id": 260451,
"created_at": "2022-04-26T10:37:00.286Z",
"tag_name": "convert",
"nsfw": false,
"owner_id": "514294841920716810",
"uses": 24,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "637002581587132429",
"sharer": "514294841920716810",
"content": "{=():}\n{=(largs):{lower:{args}}} \n{=(gru):{replace(oz, ounces):{replace(kg, kilograms):{replace(lb, pounds):{replace(ton, tons):{replace(gm, grams):{replace(st, stone):{largs(1)}}}}}}}}\n{=(exe):to lb to oz to ton to gm to st to kg}\n{=(.exe):{replace(., ):{exe}}}\n{=(sho):lb oz ton}\n\n{=(a):{if({largs(2+):lb}==to oz):*16|{if({largs(2+):ton}==to oz):*32000|{if({largs(2+):oz}==to oz):*1|\n{if({largs(2+):lb}==to lb):*1|\n{if({largs(2+):oz}==to lb):/16|\n{if({largs(2+):ton}==to lb):*2000|\n{if({largs(2+):ton}==to ton):*1|\n{if({largs(2+):lb}==to ton):/2000|\n{if({largs(2+):oz}==to ton):*32000|{if({largs(2+):kg}==to kg):*1|\n{if({largs(2+):lb}==to kg):/2.205|\n{if({largs(2+):oz}==to kg):/35.274|{if({largs(2+):ton}==to kg):*907|\n{if({largs(2+):kg}==to lb):*2.205|\n{if({largs(2+):kg}==to ton):/907|\n{if({largs(2+):kg}==to oz):*35.274|\n{if({largs(2+):gm}==to gm):*1|\n{if({largs(2+):gm}==to lb):/454|\n{if({largs(2+):gm}==to oz):/28.35|\n{if({largs(2+):gm}==to ton):/907185|\n{if({largs(2+):gm}==to kg):/1000|\n{if({largs(2+):lb}==to gm):*454|\n{if({largs(2+):ton}==to gm):*907185|\n{if({largs(2+):oz}== to gm):*28.35|\n{if({largs(2+):kg}==to gm):*1000|\n{if({largs(2+):st}==to st):*1|\n{if({largs(2+):st}==to gm):*6350|\n{if({largs(2+):st}==to lb):*14|\n{if({largs(2+):st}==to kg):*6.35|\n{if({largs(2+):st}==to ton):/143|\n{if({largs(2+):st}==to oz):*224|\n{if({largs(2+):lb}==to st):/14|\n{if({largs(2+):kg}==to st):/6.35|\n{if({largs(2+):gm}==to st):/6350|\n{if({largs(2+):oz}==to st):/224|\n{if({largs(2+):ton}==to stone):*143}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\n\n{=(tt):{if({in(lb):{largs(1)}}==true):lb|{if({in(ton):{largs(1)}}==true):ton|{if({in(oz):{largs(1)}}==true):oz|{if({in(kg):{largs(1)}}==true):kg|{if({in(gm):{largs(1)}}==true):gm|{if({in(st):{largs(1)}}==true):st}}}}}}}\n\n{=(bb):{if({largs(3)}==ounces):oz.|{if({largs(3)}==tons):ton(s).|{if({largs(3)}==pounds):lb.|{if({largs(3)}==kilograms):kg.|{if({largs(3)}==grams):gm.|{if({largs(3)}==stone):st.}}}}}}}\n\n{=(thing):{m:{args(1):{tt}}{a}} {bb}}\n{{if({args(1):{tt}}!={m:trunc({args(1):{tt}}/1)}):c: echo You either didn't enter a number, or entered a incorrect weight measurement ya hoe. Current weight measurements are `gm`, `st`, `kg`, `ton`, `lb`, and `oz`.|{if({in({largs(2+)}):{.exe}}==false):c: echo That isn't a valid weight conversion numbnuts! Current conversions are `to gm` for grams, `to st` for stone, `to lb` for pounds, `to oz` for ounces, `to ton` for tons, and `to kg` for kilograms.}}}\n\n{=(hex):A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0} \n{=(randhex):{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}}\n{embed(color):#{randhex}}",
"embed": "{\"color\": 5198940, \"image\": {\"url\": \"{if({args(1):{tt}}!={m:trunc({args(1):{tt}}/1)}):You need to enter a number!!|{if({in({largs(2+)}):{.exe}}==false):tons`.}}\"}, \"title\": \"Success! Conversion made!\", \"description\": \"{gru} converted {args(2+)} is... `{thing}`\"}",
"last_fetched": "2026-10-20T22:01:45.090Z"
}