converttest
Private
Content
232 lines{require(You need to be in <#1209911177262665751> to use this command.):1210608529589927997}
{=(Tek Ceil):1}
{=(Tek Wall):1.2}
{=(Tek Pill):2}
{=(Tek LWall):0.3}
{=(Tek Found):0.8}
{=(Tek Gen):0.03}
{=(Clone):0.008333333333}
{=(Dedi):0.3}
{=(Trans):0.03}
{=(Tek Trough):0.05}
{=(STP):0.1}
{=(MTP):0.04}
{=(HPoly):80}
{=(BPearl):10}
{=(Ingot):200}
{=(VComp):0.16}
{=(Paste):300}
{=(la):{lower:{args}}}
{=(Repla):{replace(tek ceil,tekceil):{replace(tek wall,tekwall):{replace(tek pill,tekpill):{replace(tek lwall,teklwall):{replace(tek found,tekfound):{replace(tek gen,tekgen):{replace(tek trough,tektrough):{la}}}}}}}}}
{=(tcIndex):{m:trunc({index(tekceil):{Repla}}-1)}}
{=(tcValue):{if({in({m:sgn({tcIndex})}):0 1}==true):{m:trunc({list({tcIndex}):{join(~):{Repla}}}*{Tek Ceil})}}}
{=(tcDupIndex):{m:trunc({index(tekceil):{Repla}}+2)}}
{=(tcDupCheck):{if({contains(tekceil):{Repla({tcDupIndex}+)}}==true):Duplicate}}
{=(tcO):{replace(, ):{ord:{tcValue}}}}
{=(tcO):{join():{tcO(+-3)}}}
{=(tcCheck):{if({m:sgn({tcValue})}==1):{tcO}|{if(!={tcValue}):Invalid}}}
{=(twIndex):{m:trunc({index(tekwall):{Repla}}-1)}}
{=(twValue):{if({in({m:sgn({twIndex})}):0 1}==true):{m:trunc({list({twIndex}):{join(~):{Repla}}}*{Tek Wall})}}}
{=(twDupIndex):{m:trunc({index(tekwall):{Repla}}+2)}}
{=(twDupCheck):{if({contains(tekwall):{Repla({twDupIndex}+)}}==true):Duplicate}}
{=(twO):{replace(, ):{ord:{twValue}}}}
{=(twO):{join():{twO(+-3)}}}
{=(twCheck):{if({m:sgn({twValue})}==1):{twO}|{if(!={twValue}):Invalid}}}
{=(tpIndex):{m:trunc({index(tekpill):{Repla}}-1)}}
{=(tpValue):{if({in({m:sgn({tpIndex})}):0 1}==true):{m:trunc({list({tpIndex}):{join(~):{Repla}}}*{Tek Pill})}}}
{=(tpDupIndex):{m:trunc({index(tekpill):{Repla}}+2)}}
{=(tpDupCheck):{if({contains(tekpill):{Repla({tpDupIndex}+)}}==true):Duplicate}}
{=(tpO):{replace(, ):{ord:{tpValue}}}}
{=(tpO):{join():{tpO(+-3)}}}
{=(tpCheck):{if({m:sgn({tpValue})}==1):{tpO}|{if(!={tpValue}):Invalid}}}
{=(tlwIndex):{m:trunc({index(teklwall):{Repla}}-1)}}
{=(tlwValue):{if({in({m:sgn({tlwIndex})}):0 1}==true):{m:trunc({list({tlwIndex}):{join(~):{Repla}}}*{Tek LWall})}}}
{=(tlwDupIndex):{m:trunc({index(teklwall):{Repla}}+2)}}
{=(tlwDupCheck):{if({contains(teklwall):{Repla({tlwDupIndex}+)}}==true):Duplicate}}
{=(tlwO):{replace(, ):{ord:{tlwValue}}}}
{=(tlwO):{join():{tlwO(+-3)}}}
{=(tlwCheck):{if({m:sgn({tlwValue})}==1):{tlwO}|{if(!={tlwValue}):Invalid}}}
{=(tfIndex):{m:trunc({index(tekfound):{Repla}}-1)}}
{=(tfValue):{if({in({m:sgn({tfIndex})}):0 1}==true):{m:trunc({list({tfIndex}):{join(~):{Repla}}}*{Tek Found})}}}
{=(tfDupIndex):{m:trunc({index(tekfound):{Repla}}+2)}}
{=(tfDupCheck):{if({contains(tekfound):{Repla({tfDupIndex}+)}}==true):Duplicate}}
{=(tfO):{replace(, ):{ord:{tfValue}}}}
{=(tfO):{join():{tfO(+-3)}}}
{=(tfCheck):{if({m:sgn({tfValue})}==1):{tfO}|{if(!={tfValue}):Invalid}}}
{=(tgIndex):{m:trunc({index(tekgen):{Repla}}-1)}}
{=(tgValue):{if({in({m:sgn({tgIndex})}):0 1}==true):{m:trunc({list({tgIndex}):{join(~):{Repla}}}*{Tek Gen})}}}
{=(tgDupIndex):{m:trunc({index(tekgen):{Repla}}+2)}}
{=(tgDupCheck):{if({contains(tekgen):{Repla({tgDupIndex}+)}}==true):Duplicate}}
{=(tgO):{replace(, ):{ord:{tgValue}}}}
{=(tgO):{join():{tgO(+-3)}}}
{=(tgCheck):{if({m:sgn({tgValue})}==1):{tgO}|{if(!={tgValue}):Invalid}}}
{=(clIndex):{m:trunc({index(clone):{Repla}}-1)}}
{=(clValue):{if({in({m:sgn({clIndex})}):0 1}==true):{m:trunc({list({clIndex}):{join(~):{Repla}}}*{Clone})}}}
{=(clDupIndex):{m:trunc({index(clone):{Repla}}+2)}}
{=(clDupCheck):{if({contains(clone):{Repla({clDupIndex}+)}}==true):Duplicate}}
{=(clO):{replace(, ):{ord:{clValue}}}}
{=(clO):{join():{clO(+-3)}}}
{=(clCheck):{if({m:sgn({clValue})}==1):{clO}|{if(!={clValue}):Invalid}}}
{=(deIndex):{m:trunc({index(dedi):{Repla}}-1)}}
{=(deValue):{if({in({m:sgn({deIndex})}):0 1}==true):{m:trunc({list({deIndex}):{join(~):{Repla}}}*{Dedi})}}}
{=(deDupIndex):{m:trunc({index(dedi):{Repla}}+2)}}
{=(deDupCheck):{if({contains(dedi):{Repla({deDupIndex}+)}}==true):Duplicate}}
{=(deO):{replace(, ):{ord:{deValue}}}}
{=(deO):{join():{deO(+-3)}}}
{=(deCheck):{if({m:sgn({deValue})}==1):{deO}|{if(!={deValue}):Invalid}}}
{=(trIndex):{m:trunc({index(trans):{Repla}}-1)}}
{=(trValue):{if({in({m:sgn({trIndex})}):0 1}==true):{m:trunc({list({trIndex}):{join(~):{Repla}}}*{Trans})}}}
{=(trDupIndex):{m:trunc({index(trans):{Repla}}+2)}}
{=(trDupCheck):{if({contains(trans):{Repla({trDupIndex}+)}}==true):Duplicate}}
{=(trO):{replace(, ):{ord:{trValue}}}}
{=(trO):{join():{trO(+-3)}}}
{=(trCheck):{if({m:sgn({trValue})}==1):{trO}|{if(!={trValue}):Invalid}}}
{=(ttIndex):{m:trunc({index(tektrough):{Repla}}-1)}}
{=(ttValue):{if({in({m:sgn({ttIndex})}):0 1}==true):{m:trunc({list({ttIndex}):{join(~):{Repla}}}*{Tek Trough})}}}
{=(ttDupIndex):{m:trunc({index(tektrough):{Repla}}+2)}}
{=(ttDupCheck):{if({contains(tektrough):{Repla({ttDupIndex}+)}}==true):Duplicate}}
{=(ttO):{replace(, ):{ord:{ttValue}}}}
{=(ttO):{join():{ttO(+-3)}}}
{=(ttCheck):{if({m:sgn({ttValue})}==1):{ttO}|{if(!={ttValue}):Invalid}}}
{=(stIndex):{m:trunc({index(stp):{Repla}}-1)}}
{=(stValue):{if({in({m:sgn({stIndex})}):0 1}==true):{m:trunc({list({stIndex}):{join(~):{Repla}}}*{STP})}}}
{=(stDupIndex):{m:trunc({index(stp):{Repla}}+2)}}
{=(stDupCheck):{if({contains(stp):{Repla({stDupIndex}+)}}==true):Duplicate}}
{=(stO):{replace(, ):{ord:{stValue}}}}
{=(stO):{join():{stO(+-3)}}}
{=(stCheck):{if({m:sgn({stValue})}==1):{stO}|{if(!={stValue}):Invalid}}}
{=(mtIndex):{m:trunc({index(mtp):{Repla}}-1)}}
{=(mtValue):{if({in({m:sgn({mtIndex})}):0 1}==true):{m:trunc({list({mtIndex}):{join(~):{Repla}}}*{MTP})}}}
{=(mtDupIndex):{m:trunc({index(mtp):{Repla}}+2)}}
{=(mtDupCheck):{if({contains(mtp):{Repla({mtDupIndex}+)}}==true):Duplicate}}
{=(mtO):{replace(, ):{ord:{mtValue}}}}
{=(mtO):{join():{mtO(+-3)}}}
{=(mtCheck):{if({m:sgn({mtValue})}==1):{mtO}|{if(!={mtValue}):Invalid}}}
{=(hpIndex):{m:trunc({index(hpoly):{Repla}}-1)}}
{=(hpValue):{if({in({m:sgn({hpIndex})}):0 1}==true):{m:trunc({list({hpIndex}):{join(~):{Repla}}}*{HPoly})}}}
{=(hpDupIndex):{m:trunc({index(hpoly):{Repla}}+2)}}
{=(hpDupCheck):{if({contains(hpoly):{Repla({hpDupIndex}+)}}==true):Duplicate}}
{=(hpO):{replace(, ):{ord:{hpValue}}}}
{=(hpO):{join():{hpO(+-3)}}}
{=(hpCheck):{if({m:sgn({hpValue})}==1):{hpO}|{if(!={hpValue}):Invalid}}}
{=(bpIndex):{m:trunc({index(bpearl):{Repla}}-1)}}
{=(bpValue):{if({in({m:sgn({bpIndex})}):0 1}==true):{m:trunc({list({bpIndex}):{join(~):{Repla}}}*{BPearl})}}}
{=(bpDupIndex):{m:trunc({index(bpearl):{Repla}}+2)}}
{=(bpDupCheck):{if({contains(bpearl):{Repla({bpDupIndex}+)}}==true):Duplicate}}
{=(bpO):{replace(, ):{ord:{bpValue}}}}
{=(bpO):{join():{bpO(+-3)}}}
{=(bpCheck):{if({m:sgn({bpValue})}==1):{bpO}|{if(!={bpValue}):Invalid}}}
{=(igIndex):{m:trunc({index(ingot):{Repla}}-1)}}
{=(igValue):{if({in({m:sgn({igIndex})}):0 1}==true):{m:trunc({list({igIndex}):{join(~):{Repla}}}*{Ingot})}}}
{=(igDupIndex):{m:trunc({index(ingot):{Repla}}+2)}}
{=(igDupCheck):{if({contains(ingot):{Repla({igDupIndex}+)}}==true):Duplicate}}
{=(igO):{replace(, ):{ord:{igValue}}}}
{=(igO):{join():{igO(+-3)}}}
{=(igCheck):{if({m:sgn({igValue})}==1):{igO}|{if(!={igValue}):Invalid}}}
{=(vcIndex):{m:trunc({index(vcomp):{Repla}}-1)}}
{=(vcValue):{if({in({m:sgn({vcIndex})}):0 1}==true):{m:trunc({list({vcIndex}):{join(~):{Repla}}}*{VComp})}}}
{=(vcDupIndex):{m:trunc({index(vcomp):{Repla}}+2)}}
{=(vcDupCheck):{if({contains(vcomp):{Repla({vcDupIndex}+)}}==true):Duplicate}}
{=(vcO):{replace(, ):{ord:{vcValue}}}}
{=(vcO):{join():{vcO(+-3)}}}
{=(vcCheck):{if({m:sgn({vcValue})}==1):{vcO}|{if(!={vcValue}):Invalid}}}
{=(paIndex):{m:trunc({index(paste):{Repla}}-1)}}
{=(paValue):{if({in({m:sgn({paIndex})}):0 1}==true):{m:trunc({list({paIndex}):{join(~):{Repla}}}*{Paste})}}}
{=(paDupIndex):{m:trunc({index(paste):{Repla}}+2)}}
{=(paDupCheck):{if({contains(paste):{Repla({paDupIndex}+)}}==true):Duplicate}}
{=(paO):{replace(, ):{ord:{paValue}}}}
{=(paO):{join():{paO(+-3)}}}
{=(paCheck):{if({m:sgn({paValue})}==1):{paO}|{if(!={paValue}):Invalid}}}
{=(o1):{list(1):{join(~):{Repla}}}}
{=(item.{o1}):{if(!={list(1):{join(~):{Repla}}}):InvalidItem}}
{=(o2):{list(3):{join(~):{Repla}}}}
{=(item.{o2}):{if(!={list(3):{join(~):{Repla}}}):InvalidItem}}
{=(o3):{list(5):{join(~):{Repla}}}}
{=(item.{o3}):{if(!={list(5):{join(~):{Repla}}}):InvalidItem}}
{=(o4):{list(7):{join(~):{Repla}}}}
{=(item.{o4}):{if(!={list(7):{join(~):{Repla}}}):InvalidItem}}
{=(o5):{list(9):{join(~):{Repla}}}}
{=(item.{o5}):{if(!={list(9):{join(~):{Repla}}}):InvalidItem}}
{=(o6):{list(11):{join(~):{Repla}}}}
{=(item.{o6}):{if(!={list(11):{join(~):{Repla}}}):InvalidItem}}
{=(o7):{list(13):{join(~):{Repla}}}}
{=(item.{o7}):{if(!={list(13):{join(~):{Repla}}}):InvalidItem}}
{=(o8):{list(15):{join(~):{Repla}}}}
{=(item.{o8}):{if(!={list(15):{join(~):{Repla}}}):InvalidItem}}
{=(o9):{list(17):{join(~):{Repla}}}}
{=(item.{o9}):{if(!={list(17):{join(~):{Repla}}}):InvalidItem}}
{=(o10):{list(19):{join(~):{Repla}}}}
{=(item.{o10}):{if(!={list(19):{join(~):{Repla}}}):InvalidItem}}
{=(o11):{list(21):{join(~):{Repla}}}}
{=(item.{o11}):{if(!={list(21):{join(~):{Repla}}}):InvalidItem}}
{=(o12):{list(23):{join(~):{Repla}}}}
{=(item.{o12}):{if(!={list(23):{join(~):{Repla}}}):InvalidItem}}
{=(o13):{list(25):{join(~):{Repla}}}}
{=(item.{o13}):{if(!={list(25):{join(~):{Repla}}}):InvalidItem}}
{=(o14):{list(27):{join(~):{Repla}}}}
{=(item.{o14}):{if(!={list(27):{join(~):{Repla}}}):InvalidItem}}
{=(o15):{list(29):{join(~):{Repla}}}}
{=(item.{o15}):{if(!={list(29):{join(~):{Repla}}}):InvalidItem}}
{=(o16):{list(31):{join(~):{Repla}}}}
{=(item.{o16}):{if(!={list(31):{join(~):{Repla}}}):InvalidItem}}
{=(o17):{list(33):{join(~):{Repla}}}}
{=(item.{o17}):{if(!={list(33):{join(~):{Repla}}}):InvalidItem}}
{=(item.tekceil):**{tcCheck} Tek Ceilings**}
{=(item.tekwall):**{twCheck} Tek Walls**}
{=(item.tekpill):**{tpCheck} Tek Pillars**}
{=(item.teklwall):**{tlwCheck} Tek Large Walls**}
{=(item.tekfound):**{tfCheck} Tek Foundations**}
{=(item.tekgen):**{tgCheck} Tek Generators**}
{=(item.clone):**{clCheck} Cloners**}
{=(item.dedi):**{deCheck} Dedis**}
{=(item.trans):**{trCheck} Transmitters**}
{=(item.tektrough):**{ttCheck} Tek Troughs**}
{=(item.stp):**{stCheck} Small TPs**}
{=(item.mtp):**{mtCheck} Medium TPs**}
{=(item.hpoly):**{hpCheck} Hard Polymer**}
{=(item.bpearl):**{bpCheck} Black Pearls**}
{=(item.ingot):**{igCheck} Ingots**}
{=(item.vcomp):**{vcCheck} Vac Compartments**}
{=(item.paste):**{paCheck} Paste**}
{=(valueCheck):{in(Invalid):{tcCheck}{twCheck}{tpCheck}{tlwCheck}{tfCheck}{tgCheck}{clCheck}{deCheck}{trCheck}{ttCheck}{stCheck}{mtCheck}{hpCheck}{bpCheck}{igCheck}{vcCheck}{paCheck}}}
{=(dupCheck):{in(Duplicate):{tcDupCheck}{twDupCheck}{tpDupCheck}{tlwDupCheck}{tfDupCheck}{tgDupCheck}{clDupCheck}{deDupCheck}{trDupCheck}{ttDupCheck}{stDupCheck}{mtDupCheck}{hpDupCheck}{bpDupCheck}{igDupCheck}{vcDupCheck}{paDupCheck}}}
{=(itemCheck):{in(InvalidItem):{item.{o1}}{item.{o2}}{item.{o3}}{item.{o4}}{item.{o5}}{item.{o6}}{item.{o7}}{item.{o8}}{item.{o9}}{item.{o10}}{item.{o11}}{item.{o12}}{item.{o13}}{item.{o14}}{item.{o15}}{item.{o16}}{item.{o17}}}}
{=(allCheck):{in(false false false):{valueCheck} {dupCheck} {itemCheck}}}
{if(true=={valueCheck}):An item has an invalid value, please check your input.}
{if(true=={dupCheck}):You have entered the same item more than once, please check your input.}
{if(true=={itemCheck}):An invalid item has been entered, please check your input.
{=(cititle):__Valid item names__}{=(cimess):
`Tek Ceil` | `Tek Wall` | `Tek Pill` | `Tek LWall` | `Tek Found`
`Tek Gen` | `Clone` | `Dedi` | `Trans` | `Tek Trough` | `STP`
`MTP` | `HPoly` | `BPearl` | `Ingot` | `vComp` | `Paste`}}
{or(=={Repla}|=={list(1):{join(~):{Repla}}}):You must enter a value along with a valid item.
__**Valid item names**__
Tek Ceil, Tek Wall, Tek Pill, Tek LWall, Tek Found, Tek Gen, Clone, Dedi, Trans, Tek Trough, STP, MTP, HPoly, BPearl, Ingot, vComp, Paste}
{embed(URL):https://discord.gg/QDzp3bxdV7}
{embed(color):#a852f8}Embed
1 line{"color": 8651007, "title": "{if(true=={itemCheck}):{cititle}}{if(true=={allCheck}):<:APC:1208103878416007198> APC's Tek Converter}", "footer": {"text": "Requested by {user} ~ Created by APC", "icon_url": ""}, "description": "{if(true=={itemCheck}):{cimess}}\n{if(true=={allCheck}):{args(1)} Tek is {item.{o1}}\n{item.{o2}}\n{item.{o3}}\n{item.{o4}}\n{item.{o5}}\n{item.{o6}}\n{item.{o7}}\n{item.{o8}}\n{item.{o9}}\n{item.{o10}}\n{item.{o11}}\n{item.{o12}}\n{item.{o13}}\n{item.{o14}}\n{item.{o15}}\n{item.{o16}}\n{item.{o17}}}"}Raw JSON
{
"id": 1951378,
"created_at": "2024-02-23T15:27:49.000Z",
"tag_name": "converttest",
"nsfw": false,
"owner_id": "663172951914577951",
"uses": 50,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1207360624670285915",
"sharer": "663172951914577951",
"content": "{require(You need to be in <#1209911177262665751> to use this command.):1210608529589927997}\n\n{=(Tek Ceil):1}\n{=(Tek Wall):1.2}\n{=(Tek Pill):2}\n{=(Tek LWall):0.3}\n{=(Tek Found):0.8}\n{=(Tek Gen):0.03}\n{=(Clone):0.008333333333}\n{=(Dedi):0.3}\n{=(Trans):0.03}\n{=(Tek Trough):0.05}\n{=(STP):0.1}\n{=(MTP):0.04}\n{=(HPoly):80}\n{=(BPearl):10}\n{=(Ingot):200}\n{=(VComp):0.16}\n{=(Paste):300}\n\n{=(la):{lower:{args}}}\n{=(Repla):{replace(tek ceil,tekceil):{replace(tek wall,tekwall):{replace(tek pill,tekpill):{replace(tek lwall,teklwall):{replace(tek found,tekfound):{replace(tek gen,tekgen):{replace(tek trough,tektrough):{la}}}}}}}}}\n\n{=(tcIndex):{m:trunc({index(tekceil):{Repla}}-1)}}\n{=(tcValue):{if({in({m:sgn({tcIndex})}):0 1}==true):{m:trunc({list({tcIndex}):{join(~):{Repla}}}*{Tek Ceil})}}}\n{=(tcDupIndex):{m:trunc({index(tekceil):{Repla}}+2)}}\n{=(tcDupCheck):{if({contains(tekceil):{Repla({tcDupIndex}+)}}==true):Duplicate}}\n{=(tcO):{replace(, ):{ord:{tcValue}}}}\n{=(tcO):{join():{tcO(+-3)}}}\n{=(tcCheck):{if({m:sgn({tcValue})}==1):{tcO}|{if(!={tcValue}):Invalid}}}\n\n{=(twIndex):{m:trunc({index(tekwall):{Repla}}-1)}}\n{=(twValue):{if({in({m:sgn({twIndex})}):0 1}==true):{m:trunc({list({twIndex}):{join(~):{Repla}}}*{Tek Wall})}}}\n{=(twDupIndex):{m:trunc({index(tekwall):{Repla}}+2)}}\n{=(twDupCheck):{if({contains(tekwall):{Repla({twDupIndex}+)}}==true):Duplicate}}\n{=(twO):{replace(, ):{ord:{twValue}}}}\n{=(twO):{join():{twO(+-3)}}}\n{=(twCheck):{if({m:sgn({twValue})}==1):{twO}|{if(!={twValue}):Invalid}}}\n\n{=(tpIndex):{m:trunc({index(tekpill):{Repla}}-1)}}\n{=(tpValue):{if({in({m:sgn({tpIndex})}):0 1}==true):{m:trunc({list({tpIndex}):{join(~):{Repla}}}*{Tek Pill})}}}\n{=(tpDupIndex):{m:trunc({index(tekpill):{Repla}}+2)}}\n{=(tpDupCheck):{if({contains(tekpill):{Repla({tpDupIndex}+)}}==true):Duplicate}}\n{=(tpO):{replace(, ):{ord:{tpValue}}}}\n{=(tpO):{join():{tpO(+-3)}}}\n{=(tpCheck):{if({m:sgn({tpValue})}==1):{tpO}|{if(!={tpValue}):Invalid}}}\n\n{=(tlwIndex):{m:trunc({index(teklwall):{Repla}}-1)}}\n{=(tlwValue):{if({in({m:sgn({tlwIndex})}):0 1}==true):{m:trunc({list({tlwIndex}):{join(~):{Repla}}}*{Tek LWall})}}}\n{=(tlwDupIndex):{m:trunc({index(teklwall):{Repla}}+2)}}\n{=(tlwDupCheck):{if({contains(teklwall):{Repla({tlwDupIndex}+)}}==true):Duplicate}}\n{=(tlwO):{replace(, ):{ord:{tlwValue}}}}\n{=(tlwO):{join():{tlwO(+-3)}}}\n{=(tlwCheck):{if({m:sgn({tlwValue})}==1):{tlwO}|{if(!={tlwValue}):Invalid}}}\n\n{=(tfIndex):{m:trunc({index(tekfound):{Repla}}-1)}}\n{=(tfValue):{if({in({m:sgn({tfIndex})}):0 1}==true):{m:trunc({list({tfIndex}):{join(~):{Repla}}}*{Tek Found})}}}\n{=(tfDupIndex):{m:trunc({index(tekfound):{Repla}}+2)}}\n{=(tfDupCheck):{if({contains(tekfound):{Repla({tfDupIndex}+)}}==true):Duplicate}}\n{=(tfO):{replace(, ):{ord:{tfValue}}}}\n{=(tfO):{join():{tfO(+-3)}}}\n{=(tfCheck):{if({m:sgn({tfValue})}==1):{tfO}|{if(!={tfValue}):Invalid}}}\n\n{=(tgIndex):{m:trunc({index(tekgen):{Repla}}-1)}}\n{=(tgValue):{if({in({m:sgn({tgIndex})}):0 1}==true):{m:trunc({list({tgIndex}):{join(~):{Repla}}}*{Tek Gen})}}}\n{=(tgDupIndex):{m:trunc({index(tekgen):{Repla}}+2)}}\n{=(tgDupCheck):{if({contains(tekgen):{Repla({tgDupIndex}+)}}==true):Duplicate}}\n{=(tgO):{replace(, ):{ord:{tgValue}}}}\n{=(tgO):{join():{tgO(+-3)}}}\n{=(tgCheck):{if({m:sgn({tgValue})}==1):{tgO}|{if(!={tgValue}):Invalid}}}\n\n{=(clIndex):{m:trunc({index(clone):{Repla}}-1)}}\n{=(clValue):{if({in({m:sgn({clIndex})}):0 1}==true):{m:trunc({list({clIndex}):{join(~):{Repla}}}*{Clone})}}}\n{=(clDupIndex):{m:trunc({index(clone):{Repla}}+2)}}\n{=(clDupCheck):{if({contains(clone):{Repla({clDupIndex}+)}}==true):Duplicate}}\n{=(clO):{replace(, ):{ord:{clValue}}}}\n{=(clO):{join():{clO(+-3)}}}\n{=(clCheck):{if({m:sgn({clValue})}==1):{clO}|{if(!={clValue}):Invalid}}}\n\n{=(deIndex):{m:trunc({index(dedi):{Repla}}-1)}}\n{=(deValue):{if({in({m:sgn({deIndex})}):0 1}==true):{m:trunc({list({deIndex}):{join(~):{Repla}}}*{Dedi})}}}\n{=(deDupIndex):{m:trunc({index(dedi):{Repla}}+2)}}\n{=(deDupCheck):{if({contains(dedi):{Repla({deDupIndex}+)}}==true):Duplicate}}\n{=(deO):{replace(, ):{ord:{deValue}}}}\n{=(deO):{join():{deO(+-3)}}}\n{=(deCheck):{if({m:sgn({deValue})}==1):{deO}|{if(!={deValue}):Invalid}}}\n\n{=(trIndex):{m:trunc({index(trans):{Repla}}-1)}}\n{=(trValue):{if({in({m:sgn({trIndex})}):0 1}==true):{m:trunc({list({trIndex}):{join(~):{Repla}}}*{Trans})}}}\n{=(trDupIndex):{m:trunc({index(trans):{Repla}}+2)}}\n{=(trDupCheck):{if({contains(trans):{Repla({trDupIndex}+)}}==true):Duplicate}}\n{=(trO):{replace(, ):{ord:{trValue}}}}\n{=(trO):{join():{trO(+-3)}}}\n{=(trCheck):{if({m:sgn({trValue})}==1):{trO}|{if(!={trValue}):Invalid}}}\n\n{=(ttIndex):{m:trunc({index(tektrough):{Repla}}-1)}}\n{=(ttValue):{if({in({m:sgn({ttIndex})}):0 1}==true):{m:trunc({list({ttIndex}):{join(~):{Repla}}}*{Tek Trough})}}}\n{=(ttDupIndex):{m:trunc({index(tektrough):{Repla}}+2)}}\n{=(ttDupCheck):{if({contains(tektrough):{Repla({ttDupIndex}+)}}==true):Duplicate}}\n{=(ttO):{replace(, ):{ord:{ttValue}}}}\n{=(ttO):{join():{ttO(+-3)}}}\n{=(ttCheck):{if({m:sgn({ttValue})}==1):{ttO}|{if(!={ttValue}):Invalid}}}\n\n{=(stIndex):{m:trunc({index(stp):{Repla}}-1)}}\n{=(stValue):{if({in({m:sgn({stIndex})}):0 1}==true):{m:trunc({list({stIndex}):{join(~):{Repla}}}*{STP})}}}\n{=(stDupIndex):{m:trunc({index(stp):{Repla}}+2)}}\n{=(stDupCheck):{if({contains(stp):{Repla({stDupIndex}+)}}==true):Duplicate}}\n{=(stO):{replace(, ):{ord:{stValue}}}}\n{=(stO):{join():{stO(+-3)}}}\n{=(stCheck):{if({m:sgn({stValue})}==1):{stO}|{if(!={stValue}):Invalid}}}\n\n{=(mtIndex):{m:trunc({index(mtp):{Repla}}-1)}}\n{=(mtValue):{if({in({m:sgn({mtIndex})}):0 1}==true):{m:trunc({list({mtIndex}):{join(~):{Repla}}}*{MTP})}}}\n{=(mtDupIndex):{m:trunc({index(mtp):{Repla}}+2)}}\n{=(mtDupCheck):{if({contains(mtp):{Repla({mtDupIndex}+)}}==true):Duplicate}}\n{=(mtO):{replace(, ):{ord:{mtValue}}}}\n{=(mtO):{join():{mtO(+-3)}}}\n{=(mtCheck):{if({m:sgn({mtValue})}==1):{mtO}|{if(!={mtValue}):Invalid}}}\n\n{=(hpIndex):{m:trunc({index(hpoly):{Repla}}-1)}}\n{=(hpValue):{if({in({m:sgn({hpIndex})}):0 1}==true):{m:trunc({list({hpIndex}):{join(~):{Repla}}}*{HPoly})}}}\n{=(hpDupIndex):{m:trunc({index(hpoly):{Repla}}+2)}}\n{=(hpDupCheck):{if({contains(hpoly):{Repla({hpDupIndex}+)}}==true):Duplicate}}\n{=(hpO):{replace(, ):{ord:{hpValue}}}}\n{=(hpO):{join():{hpO(+-3)}}}\n{=(hpCheck):{if({m:sgn({hpValue})}==1):{hpO}|{if(!={hpValue}):Invalid}}}\n\n{=(bpIndex):{m:trunc({index(bpearl):{Repla}}-1)}}\n{=(bpValue):{if({in({m:sgn({bpIndex})}):0 1}==true):{m:trunc({list({bpIndex}):{join(~):{Repla}}}*{BPearl})}}}\n{=(bpDupIndex):{m:trunc({index(bpearl):{Repla}}+2)}}\n{=(bpDupCheck):{if({contains(bpearl):{Repla({bpDupIndex}+)}}==true):Duplicate}}\n{=(bpO):{replace(, ):{ord:{bpValue}}}}\n{=(bpO):{join():{bpO(+-3)}}}\n{=(bpCheck):{if({m:sgn({bpValue})}==1):{bpO}|{if(!={bpValue}):Invalid}}}\n\n{=(igIndex):{m:trunc({index(ingot):{Repla}}-1)}}\n{=(igValue):{if({in({m:sgn({igIndex})}):0 1}==true):{m:trunc({list({igIndex}):{join(~):{Repla}}}*{Ingot})}}}\n{=(igDupIndex):{m:trunc({index(ingot):{Repla}}+2)}}\n{=(igDupCheck):{if({contains(ingot):{Repla({igDupIndex}+)}}==true):Duplicate}}\n{=(igO):{replace(, ):{ord:{igValue}}}}\n{=(igO):{join():{igO(+-3)}}}\n{=(igCheck):{if({m:sgn({igValue})}==1):{igO}|{if(!={igValue}):Invalid}}}\n\n{=(vcIndex):{m:trunc({index(vcomp):{Repla}}-1)}}\n{=(vcValue):{if({in({m:sgn({vcIndex})}):0 1}==true):{m:trunc({list({vcIndex}):{join(~):{Repla}}}*{VComp})}}}\n{=(vcDupIndex):{m:trunc({index(vcomp):{Repla}}+2)}}\n{=(vcDupCheck):{if({contains(vcomp):{Repla({vcDupIndex}+)}}==true):Duplicate}}\n{=(vcO):{replace(, ):{ord:{vcValue}}}}\n{=(vcO):{join():{vcO(+-3)}}}\n{=(vcCheck):{if({m:sgn({vcValue})}==1):{vcO}|{if(!={vcValue}):Invalid}}}\n\n{=(paIndex):{m:trunc({index(paste):{Repla}}-1)}}\n{=(paValue):{if({in({m:sgn({paIndex})}):0 1}==true):{m:trunc({list({paIndex}):{join(~):{Repla}}}*{Paste})}}}\n{=(paDupIndex):{m:trunc({index(paste):{Repla}}+2)}}\n{=(paDupCheck):{if({contains(paste):{Repla({paDupIndex}+)}}==true):Duplicate}}\n{=(paO):{replace(, ):{ord:{paValue}}}}\n{=(paO):{join():{paO(+-3)}}}\n{=(paCheck):{if({m:sgn({paValue})}==1):{paO}|{if(!={paValue}):Invalid}}}\n\n{=(o1):{list(1):{join(~):{Repla}}}}\n{=(item.{o1}):{if(!={list(1):{join(~):{Repla}}}):InvalidItem}}\n{=(o2):{list(3):{join(~):{Repla}}}}\n{=(item.{o2}):{if(!={list(3):{join(~):{Repla}}}):InvalidItem}}\n{=(o3):{list(5):{join(~):{Repla}}}}\n{=(item.{o3}):{if(!={list(5):{join(~):{Repla}}}):InvalidItem}}\n{=(o4):{list(7):{join(~):{Repla}}}}\n{=(item.{o4}):{if(!={list(7):{join(~):{Repla}}}):InvalidItem}}\n{=(o5):{list(9):{join(~):{Repla}}}}\n{=(item.{o5}):{if(!={list(9):{join(~):{Repla}}}):InvalidItem}}\n{=(o6):{list(11):{join(~):{Repla}}}}\n{=(item.{o6}):{if(!={list(11):{join(~):{Repla}}}):InvalidItem}}\n{=(o7):{list(13):{join(~):{Repla}}}}\n{=(item.{o7}):{if(!={list(13):{join(~):{Repla}}}):InvalidItem}}\n{=(o8):{list(15):{join(~):{Repla}}}}\n{=(item.{o8}):{if(!={list(15):{join(~):{Repla}}}):InvalidItem}}\n{=(o9):{list(17):{join(~):{Repla}}}}\n{=(item.{o9}):{if(!={list(17):{join(~):{Repla}}}):InvalidItem}}\n{=(o10):{list(19):{join(~):{Repla}}}}\n{=(item.{o10}):{if(!={list(19):{join(~):{Repla}}}):InvalidItem}}\n{=(o11):{list(21):{join(~):{Repla}}}}\n{=(item.{o11}):{if(!={list(21):{join(~):{Repla}}}):InvalidItem}}\n{=(o12):{list(23):{join(~):{Repla}}}}\n{=(item.{o12}):{if(!={list(23):{join(~):{Repla}}}):InvalidItem}}\n{=(o13):{list(25):{join(~):{Repla}}}}\n{=(item.{o13}):{if(!={list(25):{join(~):{Repla}}}):InvalidItem}}\n{=(o14):{list(27):{join(~):{Repla}}}}\n{=(item.{o14}):{if(!={list(27):{join(~):{Repla}}}):InvalidItem}}\n{=(o15):{list(29):{join(~):{Repla}}}}\n{=(item.{o15}):{if(!={list(29):{join(~):{Repla}}}):InvalidItem}}\n{=(o16):{list(31):{join(~):{Repla}}}}\n{=(item.{o16}):{if(!={list(31):{join(~):{Repla}}}):InvalidItem}}\n{=(o17):{list(33):{join(~):{Repla}}}}\n{=(item.{o17}):{if(!={list(33):{join(~):{Repla}}}):InvalidItem}}\n\n{=(item.tekceil):**{tcCheck} Tek Ceilings**}\n{=(item.tekwall):**{twCheck} Tek Walls**}\n{=(item.tekpill):**{tpCheck} Tek Pillars**}\n{=(item.teklwall):**{tlwCheck} Tek Large Walls**}\n{=(item.tekfound):**{tfCheck} Tek Foundations**}\n{=(item.tekgen):**{tgCheck} Tek Generators**}\n{=(item.clone):**{clCheck} Cloners**}\n{=(item.dedi):**{deCheck} Dedis**}\n{=(item.trans):**{trCheck} Transmitters**}\n{=(item.tektrough):**{ttCheck} Tek Troughs**}\n{=(item.stp):**{stCheck} Small TPs**}\n{=(item.mtp):**{mtCheck} Medium TPs**}\n{=(item.hpoly):**{hpCheck} Hard Polymer**}\n{=(item.bpearl):**{bpCheck} Black Pearls**}\n{=(item.ingot):**{igCheck} Ingots**}\n{=(item.vcomp):**{vcCheck} Vac Compartments**}\n{=(item.paste):**{paCheck} Paste**}\n\n{=(valueCheck):{in(Invalid):{tcCheck}{twCheck}{tpCheck}{tlwCheck}{tfCheck}{tgCheck}{clCheck}{deCheck}{trCheck}{ttCheck}{stCheck}{mtCheck}{hpCheck}{bpCheck}{igCheck}{vcCheck}{paCheck}}}\n{=(dupCheck):{in(Duplicate):{tcDupCheck}{twDupCheck}{tpDupCheck}{tlwDupCheck}{tfDupCheck}{tgDupCheck}{clDupCheck}{deDupCheck}{trDupCheck}{ttDupCheck}{stDupCheck}{mtDupCheck}{hpDupCheck}{bpDupCheck}{igDupCheck}{vcDupCheck}{paDupCheck}}}\n{=(itemCheck):{in(InvalidItem):{item.{o1}}{item.{o2}}{item.{o3}}{item.{o4}}{item.{o5}}{item.{o6}}{item.{o7}}{item.{o8}}{item.{o9}}{item.{o10}}{item.{o11}}{item.{o12}}{item.{o13}}{item.{o14}}{item.{o15}}{item.{o16}}{item.{o17}}}}\n{=(allCheck):{in(false false false):{valueCheck} {dupCheck} {itemCheck}}}\n\n{if(true=={valueCheck}):An item has an invalid value, please check your input.}\n{if(true=={dupCheck}):You have entered the same item more than once, please check your input.}\n{if(true=={itemCheck}):An invalid item has been entered, please check your input.\n{=(cititle):__Valid item names__}{=(cimess):\n\n`Tek Ceil` | `Tek Wall` | `Tek Pill` | `Tek LWall` | `Tek Found`\n`Tek Gen` | `Clone` | `Dedi` | `Trans` | `Tek Trough` | `STP`\n`MTP` | `HPoly` | `BPearl` | `Ingot` | `vComp` | `Paste`}}\n\n{or(=={Repla}|=={list(1):{join(~):{Repla}}}):You must enter a value along with a valid item.\n__**Valid item names**__\nTek Ceil, Tek Wall, Tek Pill, Tek LWall, Tek Found, Tek Gen, Clone, Dedi, Trans, Tek Trough, STP, MTP, HPoly, BPearl, Ingot, vComp, Paste}\n\n{embed(URL):https://discord.gg/QDzp3bxdV7}\n{embed(color):#a852f8}",
"embed": "{\"color\": 8651007, \"title\": \"{if(true=={itemCheck}):{cititle}}{if(true=={allCheck}):<:APC:1208103878416007198> APC's Tek Converter}\", \"footer\": {\"text\": \"Requested by {user} ~ Created by APC\", \"icon_url\": \"\"}, \"description\": \"{if(true=={itemCheck}):{cimess}}\\n{if(true=={allCheck}):{args(1)} Tek is {item.{o1}}\\n{item.{o2}}\\n{item.{o3}}\\n{item.{o4}}\\n{item.{o5}}\\n{item.{o6}}\\n{item.{o7}}\\n{item.{o8}}\\n{item.{o9}}\\n{item.{o10}}\\n{item.{o11}}\\n{item.{o12}}\\n{item.{o13}}\\n{item.{o14}}\\n{item.{o15}}\\n{item.{o16}}\\n{item.{o17}}}\"}",
"last_fetched": "2026-10-20T19:32:42.525Z"
}