randsaber
Thank you for looking at my code.
Privateunrated
Content
49 lines{let(objhilt):{#:6|false,true}}
{let(hmat):{if({objhilt}==false):{#:2|Mandalorian Iron,Phrik,2|Cortosis,6|Agrinium,6|Durasteel,6|Quadanium,6|Tempersteel,6|Permasteel,8|Steel,6|Titanium,6|Carbo-Plas,6|Lanthanide,2|Gold,2|Aluminum,Golden Electrum}|{#:Rancor Claw,Sarlacc Tooth,Wampa Bone,Acklay Carapace,Reek Horn,Sharbone}}}
{let(griptype):{#:20|attached,wrapped}}
{let(grip):{if({griptype}==attached):{#:4|rubber,4|plastic,none}|{#:4|leather,Karlini silk,Kelpcotton,Zeyd cloth,Zoosha fabric,Veda cloth,Trevella cloth,Tomuon cloth,Hypercloth,Gherlian fur,Synthfur,Synthcloth,Sunshield fabric,Fleekskin,Sackcloth,Potolli-weave fabric,Chameleon cloth,Auropyle fabric,ArachSilk,Adesote fabric,Romex,Dreamsilk,Steelcloth,Miriskin}}}
{=(hw):heavy}
{=(sw):standard}
{=(lw):light}
{=(Mandalorian Iron):{hw}}
{=(Phrik):{sw}}
{=(Cortosis):{sw}}
{=(Agrinium):{lw}}
{=(Durasteel):{sw}}
{=(Quadanium):{hw}}
{=(Tempersteel):{sw}}
{=(Permasteel):{sw}}
{=(Steel):{sw}}
{=(Titanium):{hw}}
{=(Carbo-Plas):{lw}}
{=(Lanthanide):{hw}}
{=(Gold):{hw}}
{=(Aluminum):{lw}}
{=(Golden Electrum):{hw}}
{=(Rancor Claw):{sw}}
{=(Sarlacc Tooth):{sw}}
{=(Wampa Bone):{sw}}
{=(Acklay Carapace):{sw}}
{=(Reek Horn):{sw}}
{=(Sharbone):{sw}}
{let(weightclass):{{hmat}}}
{let(weight):{if({weightclass}==light):{rangef:5-12}|{if({weightclass}==standard):{rangef:12-25}|{if({weightclass}==heavy):{rangef:25-50}}}}}
{let(bshape):{#:8|single-bladed,4|double-bladed,2|triple-bladed,quadruple-bladed,lightclub,lightwhip}}
{let(hshape):{#:4|shoto,2|guard shoto,crossguard,4|curved-hilt,2|long-handle,pike,sabercane,war dragon rider's saber,10|strait cylinder}}
{let(crystal):{#:20|Kyber,10|Adegan,synthetic}}
{let(stability):{#:20|standard,compressed,unstable}}
{let(color):{#:crimson,red,6|blue,6|green,6|yellow,4|orange,4|cyan,4|purple,4|magenta,4|indigo,white}}
{let(core):{#:10|white,black}}Embed
1 line{"color": 5198940, "title": "Random Lightsaber", "fields": [{"name": "Material", "value": "{hmat}", "inline": false}, {"name": "Grip Type", "value": "{griptype}", "inline": false}, {"name": "Grip", "value": "{grip}", "inline": false}, {"name": "Weight Class", "value": "{weightclass}", "inline": false}, {"name": "Weight", "value": "{weight}", "inline": false}, {"name": "Hilt Shape", "value": "{hshape}", "inline": false}, {"name": "Blade Shape", "value": "{bshape}", "inline": false}, {"name": "Crystal Type", "value": "{crystal}", "inline": false}, {"name": "Crystal Stability", "value": "{stability}", "inline": false}, {"name": "Crystal Color", "value": "{color}", "inline": false}, {"name": "Core Color", "value": "{core}", "inline": false}]}Raw JSON
{
"id": 106030,
"created_at": "2020-01-08T00:24:48.000Z",
"tag_name": "randsaber",
"nsfw": false,
"owner_id": "279744002599682048",
"uses": 89,
"description": "Thank you for looking at my code.",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "279856679552811018",
"sharer": "279744002599682048",
"content": "{let(objhilt):{#:6|false,true}}\n\n{let(hmat):{if({objhilt}==false):{#:2|Mandalorian Iron,Phrik,2|Cortosis,6|Agrinium,6|Durasteel,6|Quadanium,6|Tempersteel,6|Permasteel,8|Steel,6|Titanium,6|Carbo-Plas,6|Lanthanide,2|Gold,2|Aluminum,Golden Electrum}|{#:Rancor Claw,Sarlacc Tooth,Wampa Bone,Acklay Carapace,Reek Horn,Sharbone}}}\n\n{let(griptype):{#:20|attached,wrapped}}\n\n{let(grip):{if({griptype}==attached):{#:4|rubber,4|plastic,none}|{#:4|leather,Karlini silk,Kelpcotton,Zeyd cloth,Zoosha fabric,Veda cloth,Trevella cloth,Tomuon cloth,Hypercloth,Gherlian fur,Synthfur,Synthcloth,Sunshield fabric,Fleekskin,Sackcloth,Potolli-weave fabric,Chameleon cloth,Auropyle fabric,ArachSilk,Adesote fabric,Romex,Dreamsilk,Steelcloth,Miriskin}}}\n\n{=(hw):heavy}\n{=(sw):standard}\n{=(lw):light}\n\n{=(Mandalorian Iron):{hw}}\n{=(Phrik):{sw}}\n{=(Cortosis):{sw}}\n{=(Agrinium):{lw}}\n{=(Durasteel):{sw}}\n{=(Quadanium):{hw}}\n{=(Tempersteel):{sw}}\n{=(Permasteel):{sw}}\n{=(Steel):{sw}}\n{=(Titanium):{hw}}\n{=(Carbo-Plas):{lw}}\n{=(Lanthanide):{hw}}\n{=(Gold):{hw}}\n{=(Aluminum):{lw}}\n{=(Golden Electrum):{hw}}\n{=(Rancor Claw):{sw}}\n{=(Sarlacc Tooth):{sw}}\n{=(Wampa Bone):{sw}}\n{=(Acklay Carapace):{sw}}\n{=(Reek Horn):{sw}}\n{=(Sharbone):{sw}}\n\n{let(weightclass):{{hmat}}}\n\n{let(weight):{if({weightclass}==light):{rangef:5-12}|{if({weightclass}==standard):{rangef:12-25}|{if({weightclass}==heavy):{rangef:25-50}}}}}\n\n{let(bshape):{#:8|single-bladed,4|double-bladed,2|triple-bladed,quadruple-bladed,lightclub,lightwhip}}\n\n{let(hshape):{#:4|shoto,2|guard shoto,crossguard,4|curved-hilt,2|long-handle,pike,sabercane,war dragon rider's saber,10|strait cylinder}}\n\n{let(crystal):{#:20|Kyber,10|Adegan,synthetic}}\n\n{let(stability):{#:20|standard,compressed,unstable}}\n\n{let(color):{#:crimson,red,6|blue,6|green,6|yellow,4|orange,4|cyan,4|purple,4|magenta,4|indigo,white}}\n\n{let(core):{#:10|white,black}}",
"embed": "{\"color\": 5198940, \"title\": \"Random Lightsaber\", \"fields\": [{\"name\": \"Material\", \"value\": \"{hmat}\", \"inline\": false}, {\"name\": \"Grip Type\", \"value\": \"{griptype}\", \"inline\": false}, {\"name\": \"Grip\", \"value\": \"{grip}\", \"inline\": false}, {\"name\": \"Weight Class\", \"value\": \"{weightclass}\", \"inline\": false}, {\"name\": \"Weight\", \"value\": \"{weight}\", \"inline\": false}, {\"name\": \"Hilt Shape\", \"value\": \"{hshape}\", \"inline\": false}, {\"name\": \"Blade Shape\", \"value\": \"{bshape}\", \"inline\": false}, {\"name\": \"Crystal Type\", \"value\": \"{crystal}\", \"inline\": false}, {\"name\": \"Crystal Stability\", \"value\": \"{stability}\", \"inline\": false}, {\"name\": \"Crystal Color\", \"value\": \"{color}\", \"inline\": false}, {\"name\": \"Core Color\", \"value\": \"{core}\", \"inline\": false}]}",
"last_fetched": "2026-10-20T20:50:47.591Z"
}