Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Custom Enchants V0.1.2 by KingOfTurkey38 discord: KingOfTurkey38#1377
- U NEED TO WEAR FULL ARMOR TO MAKE GEARS, SPRINGS, OVERLOAD, AQUATIC, KNIGHT, OBSIDIANSHIELD, HULK, GLOWING AND TANK WORK!
- Custom Enchants Help:
- -------------------------------------------------------------------------------------------------
- /ce list ( to see all custom enchants )
- /ce config ( to setup custom enchants )
- /ce help ( custom enchants help )
- /ce about ( infortmation about custom enchants )
- config:
- /ce config enable ( enables custom enchants )
- /ce config disable ( disables custom enchants )
- /ce config addarea ( adds a area were ce can be used )
- /ce config delarea ( delete a area were ce can be used )
- /ce config list ( see everything about the config [False = disabled, True = enabled] )
- -------------------------------------------------------------------------------------------------
- Custom Enchants List:
- -------------------------------------------------------------------------------------------------
- Lifesteal:
- A chance to regain health whilst attacking an opponent (sword). level: 1
- Gears:
- Gives you speed (boots). level: 1-3
- Springs:
- Gives you jumpboost (boots). level: 1-2
- Aquatic:
- Gives permanent water breathing (helmet). level: 1
- Overload:
- Permanent increase in hearts (Chestplate). level: 1-3
- Angelic:
- This Enchant Gives You Regeneration When near Death (leggings). level: 1
- Tank:
- This enchant gives you regeneration (Chestplate). level: 1-3
- Glowing:
- This enchant gives you night vision (Helmet). level: 1
- Quickmine:
- This enchant gives you haste when mining (Pickaxe). level: 1
- Knight:
- This enchant gives you resistance (Leggings). level: 1-2
- ObsidianShield:
- This enchant gives you fire resistance (Leggings). level: 1
- Hulk:
- This enchant gives you strength (Chestplate). level: 1-3
- -------------------------------------------------------------------------------------------------
- To add custom enchants to a item:
- -------------------------------------------------------------------------------------------------
- overload: /addlore overload (level)
- gears: /addlore gears (level)
- springs: /addlore springs (level)
- aquatic: /addlore aquatic
- angelic: /addlore angelic
- lifesteal: /addlore lifesteal
- hulk: /addlore hulk (level)
- obsidianshield: /addlore obsidianshield
- knight: /addlore knight (level)
- quickmine: /addlore quickmine
- glowing: /addlore glowing
- tank: /addlore tank (level)
- -------------------------------------------------------------------------------------------------
- cmd delete data
- cmd delete loop
- cmd delete ce
- cmd delete cebreak
- cmd delete cedamage
- cmd create ce Custom Enchants by KingOfTurkey38
- cmd edit ce 1 %prefix% = \"§7[§bCE§7]\"
- cmd edit ce 2 %usage% = \"§l§bCustom Enchants By KingOfTurkey38\\n§f-------------------\\n§blist\\nconfig\\nhelp\\nabout\\n§f-------------------\"
- cmd edit ce 3 if varset(%args%[1]) = %false% then goto 20
- cmd edit ce 4 %c% = %args%[1]
- cmd edit ce 5 if %c% = \"list\" then goto 50
- cmd edit ce 6 if %c% = \"config\" then goto 80
- cmd edit ce 7 if %c% = \"help\" then goto 20
- cmd edit ce 8 if %c% = \"about\" then goto 1000
- cmd edit ce 20 message %p% %usage%
- cmd edit ce 21 exit
- cmd edit ce
- cmd edit ce 50 %customenchants% = \"§6Lifesteal:\\nA chance to regain health whilst attacking an opponent (sword).\\n§6Gears:\\nGives you speed (boots).\\n§6Springs:\\nGives you jumpboost (boots).\\§6Aquatic:\\n§6Gives permanent water breathing (helmet).\\n§6Overload:\\n§6Permanent increase in hearts (Chestplate).\\n§6Angelic:\\n§6This Enchant Gives You Regeneration When near Death (leggings)\\n§6Quickmine:\\n§6This enchant gives you haste when mining (Pickaxe).\\n§6Tank:\\n§6This enchant gives you regeneration (Chestplate).\\n§6Obsidianshield:\\n§6This enchant gives you fire resistance (leggings).\\nGlowing:\\n§6This enchant gives you night vision (Helmet).\\nHulk:\\nThis enchant gives you strength (Chestplate).\\nKnight:\\nThis enchant gives you resistance (Leggings)\"
- cmd edit ce 51 message %p% %customenchants%
- cmd edit ce 52 exit
- cmd edit ce
- cmd edit ce 80 %command% = %args%[2]
- cmd edit ce 81 %word% = %args%[3]
- cmd edit ce 82 %usagee% = \"§l§bCustom Enchants By KingOfTurkey38 §6CONFIG\\n§f-------------------\\nconfig list (See the current config)\\nconfig enable [NAME] (Enable a custom enchant)\\nconfig disbale [NAME] (Disable a custom enchant)\\nconfig addarea [areaname] add a area were ce's can be used\\nconfig delarea [areaname] delete a area were ce's can be used\\n§f-------------------\"
- cmd edit ce 83 if varset(%command%) = %false% then goto 95
- cmd edit ce 84 if %command% = \"list\" then goto 100
- cmd edit ce 85 if %command% = \"enable\" then goto 120
- cmd edit ce 86 if %command% = \"disable\" then goto 140
- cmd edit ce 87 if %command% = \"addarea\" then goto 160
- cmd edit ce 88 if %command% = \"delarea\" then goto 180
- cmd edit ce 95 message %p% %usagee%
- cmd edit ce 96 exit
- cmd edit ce 100 load %ce%
- cmd edit ce 101 load %cearena%
- cmd edit ce 102 if varset(%cearena%) = %false% then let %cearena% = array(0) - array(0)
- cmd edit ce 103 message %p% §bCe Areas: %cearena%
- cmd edit ce 105 %list% = %ce%[\"list\"]
- cmd edit ce 106 %num% = 0
- cmd edit ce 107 if varset(%list%[%num%]) = %false% then exit
- cmd edit ce 108 %msg% = %list%[%num%]
- cmd edit ce 109 %mes% = %ce%[%msg%]
- cmd edit ce 110 message %p% §b%msg%: §6%mes%
- cmd edit ce 111 if size(%list%) < %num% then exit
- cmd edit ce 112 %num% = %num% + 1
- cmd edit ce 113 goto 107
- cmd edit ce 120 load %ce%
- cmd edit ce 121 %word% = lowercase(%word%)
- cmd edit ce 122 if %word% notin %ce%[\"list\"] then goto 138
- cmd edit ce 123 if %word% in %ce% then %ce%[%word%] = \"true\"
- cmd edit ce 124 message %p% §b%prefix% %word% Enabled!
- cmd edit ce 125 %ce%[%word%] = \"true\"
- cmd edit ce 126 save %ce%
- cmd edit ce 137 exit
- cmd edit ce 138 message %p% §7%word% is not a custom enchant!
- cmd edit ce 139 exit
- cmd edit ce
- cmd edit ce 140 load %ce%
- cmd edit ce 141 %word% = lowercase(%word%)
- cmd edit ce 142 if %word% notin %ce%[\"list\"] then goto 148
- cmd edit ce 143 if %word% in %ce% then let %ce%[%word%] = \"false\"
- cmd edit ce 144 message %p% §b%prefix% %word% Disabled!
- cmd edit ce 145 %ce%[%word%] = \"false\"
- cmd edit ce 146 save %ce%
- cmd edit ce 147 exit
- cmd edit ce 148 message %p% §7%word% is not a custom enchant!
- cmd edit ce 149 exit
- cmd edit ce 160 load %cearena%
- cmd edit ce 161 if varset(%cearena%) = %false% then %cearena% = array(0) - array(0)
- cmd edit ce 162 let %cearena% = %cearena% + %word%
- cmd edit ce 163 message %p% %prefix% §7Successfully added %word% to CeArenas!
- cmd edit ce 164 save %cearena%
- cmd edit ce 165 exit
- cmd edit ce 180 load %cearena%
- cmd edit ce 181 if varset(%cearena%) = %false% then %cearena% = array(0) - array(0)
- cmd edit ce 182 if %word% notin %cearena% then goto 190
- cmd edit ce 183 %cearena% = %cearena% - %word%
- cmd edit ce 184 message %p% %prefix% §7Successfully removed %word% from CeArenas!
- cmd edit ce 185 save %cearena%
- cmd edit ce 186 exit
- cmd edit ce 190 message %p% %prefix% §7%word% is notin CeArenas!
- cmd edit ce 191 exit
- cmd edit ce 1000 message %p% §b§lCustom Enchants By KingOfTurkey38
- cmd edit ce 1001 message %p% §f§l-------------------------------------
- cmd edit ce 1002 message %p% §b§lDiscord: KingOfTurkey38#1377
- cmd edit ce 1003 message %p% §b§lPlease do not edit this code!
- cmd edit ce 1004 message %p% §f§l-------------------------------------
- cmd edit ce 1005 exit
- cmd create loop Custom Enchants by KingOfTurkey38
- cmd edit loop 1 load %ce%
- cmd edit loop 2 %armor% = playerarmor(%p%)
- cmd edit loop 3 %helmet% = %armor%[0]
- cmd edit loop 4 %chesplate% = %armor%[1]
- cmd edit loop 5 %leggings% = %armor%[2]
- cmd edit loop 6 %boots% = %armor%[3]
- cmd edit loop 10 if varset(%helmet%[\"tags\"]) = %false% then goto 20
- cmd edit loop #Aquatic
- cmd edit loop 11 if %ce%[\"aquatic\"] = \"false\" then goto 13
- cmd edit loop 12 if \"61717561746963\" in %helmet%[\"tags\"] then goto 100
- cmd edit loop #Glowing
- cmd edit loop 13 if %ce%[\"glowing\"] = \"false\" then goto 20
- cmd edit loop 14 if \"676c6f77696e67\" in %helmet%[\"tags\"] then goto 110
- cmd edit loop 20 if varset(%chesplate%[\"tags\"]) = %false% then goto 30
- cmd edit loop #Overload
- cmd edit loop 21 if %ce%[\"overload\"] = \"false\" then goto 23
- cmd edit loop 22 if \"6f7665726c6f6164\" in %chesplate%[\"tags\"] then goto 200
- cmd edit loop #Tank
- cmd edit loop 23 if %ce%[\"tank\"] = \"false\" then goto 25
- cmd edit loop 24 if \"74616e6b\" in %chesplate%[\"tags\"] then goto 210
- cmd edit loop #Hulk
- cmd edit loop 25 if %ce%[\"hulk\"] = \"false\" then goto 30
- cmd edit loop 26 if \"68756c6b\" in %chesplate%[\"tags\"] then goto 220
- cmd edit loop 30 if varset(%leggings%[\"tags\"]) = %false% then goto 40
- cmd edit loop 31 if %ce%[\"obsidianshield\"] = \"false\" then goto 33
- cmd edit loop 32 if \"6f6273696469616e736869656c64\" in %leggings%[\"tags\"] then goto 500
- cmd edit loop 33 if %ce%[\"knight\"] = \"false\" then goto 40
- cmd edit loop 34 if \"6b6e69676874\" in %leggings%[\"tags\"] then goto 510
- cmd edit loop 40 if varset(%boots%[\"tags\"]) = %false% then goto 50
- cmd edit loop #gears
- cmd edit loop 41 if %ce%[\"gears\"] = \"false\" then goto 43
- cmd edit loop 42 if \"6765617273\" in %boots%[\"tags\"] then goto 300
- cmd edit loop #springs
- cmd edit loop 43 if %ce%[\"springs\"] = \"false\" then goto 50
- cmd edit loop 44 if \"737072696e6773\" in %boots%[\"tags\"] then goto 400
- cmd edit loop 50 sleep 10
- cmd edit loop 51 if %p% notin onlineplayers() then exit
- cmd edit loop 52 goto 1
- cmd edit loop 53 exit
- cmd edit loop 100 ascon /effect %p% water_breathing 15 0
- cmd edit loop 101 goto 13
- cmd edit loop 102 exit
- cmd edit loop 110 ascon /effect %p% night_vision 15 0
- cmd edit loop 111 goto 20
- cmd edit loop 112 exit
- cmd edit loop #Overload 1
- cmd edit loop 200 ascon if \"6f7665726c6f61642031\" in %chesplate%[\"tags\"] then /effect %p% health_boost 15 0
- cmd edit loop #Overload 2
- cmd edit loop 201 ascon if \"6f7665726c6f61642032\" in %chesplate%[\"tags\"] then /effect %p% health_boost 15 1
- cmd edit loop #Overload 3
- cmd edit loop 202 ascon if \"6f7665726c6f61642033\" in %chesplate%[\"tags\"] then /effect %p% health_boost 15 2
- cmd edit loop 203 goto 23
- cmd edit loop 204 exit
- cmd edit loop #Tank 1
- cmd edit loop 210 ascon if \"74616e6b2031\" in %chesplate%[\"tags\"] then /effect %p% regeneration 15 0
- cmd edit loop #Tank 2
- cmd edit loop 211 ascon if \"74616e6b2032\" in %chesplate%[\"tags\"] then /effect %p% regeneration 15 1
- cmd edit loop #Tank 3
- cmd edit loop 212 ascon if \"74616e6b2033\" in %chesplate%[\"tags\"] then /effect %p% regeneration 15 2
- cmd edit loop 213 goto 25
- cmd edit loop 214 exit
- cmd edit loop #Hulk 1
- cmd edit loop 220 ascon if \"68756c6b2031\" in %chesplate%[\"tags\"] then /effect %p% strength 15 0
- cmd edit loop #Hulk 2
- cmd edit loop 221 ascon if \"68756c6b2032\" in %chesplate%[\"tags\"] then /effect %p% strength 15 1
- cmd edit loop #Hulk 3
- cmd edit loop 222 ascon if \"68756c6b2033\" in %chesplate%[\"tags\"] then /effect %p% strength 15 2
- cmd edit loop 223 goto 30
- cmd edit loop 224 exit
- cmd edit loop #Gears 1
- cmd edit loop 300 ascon if \"67656172732031\" in %boots%[\"tags\"] then /effect %p% speed 15 0
- cmd edit loop #Gears 2
- cmd edit loop 301 ascon if \"67656172732032\" in %boots%[\"tags\"] then /effect %p% speed 15 1
- cmd edit loop #Gears 3
- cmd edit loop 302 ascon if \"67656172732033\" in %boots%[\"tags\"] then /effect %p% speed 15 2
- cmd edit loop 303 goto 43
- cmd edit loop 304 exit
- cmd edit loop #Springs 1
- cmd edit loop 400 ascon if \"737072696e67732031\" in %boots%[\"tags\"] then /effect %p% jump_boost 15 0
- cmd edit loop #Springs 2
- cmd edit loop 401 ascon if \"737072696e67732032\" in %boots%[\"tags\"] then /effect %p% jump_boost 15 1
- cmd edit loop 402 goto 50
- cmd edit loop 403 exit
- cmd edit loop #ObsidianShield
- cmd edit loop 500 ascon /effect %p% fire_resistance 15 0
- cmd edit loop 501 goto 33
- cmd edit loop 502 exit
- cmd edit loop #Knight 1
- cmd edit loop 510 ascon if \"6b6e696768742031\" in %leggings%[\"tags\"] then /effect %p% resistance 15 0
- cmd edit loop #Knight 2
- cmd edit loop 511 ascon if \"6b6e696768742032\" in %leggings%[\"tags\"] then /effect %p% resistance 15 1
- cmd edit loop 512 goto 40
- cmd edit loop 513 exit
- cmd trigger login loop
- cmd unregister loop
- cmd create data Custom Enchants by KingOfTurkey38
- cmd add data load %ce%
- cmd add data %ce% = array(0) - array(0)
- cmd add data %ce%[\"angelic\"] = \"true\"
- cmd add data %ce%[\"gears\"] = \"true\"
- cmd add data %ce%[\"overload\"] = \"true\"
- cmd add data %ce%[\"springs\"] = \"true\"
- cmd add data %ce%[\"lifesteal\"] = \"true\"
- cmd add data %ce%[\"aquatic\"] = \"true\"
- cmd add data %ce%[\"list\"] = array(\"angelic\", \"gears\", \"overload\", \"springs\", \"lifesteal\", \"aquatic\")
- cmd add data save %ce%
- cmd add data load %cearena%
- cmd add data let %cearnea% = array(0) - array(0)
- cmd add data save %cearena%
- cmd run data
- cmd delete data
- cmd create cedamage Custom Enchants by KingOfTurkey38
- cmd edit cedamage 1 if %args%[5] != \"attack\" then exit
- cmd edit cedamage 2 load %cearena%
- cmd edit cedamage 3 if varset(%cearena%) = %false% then goto 6
- cmd edit cedamage 4 %damager% = %args%[3]
- cmd edit cedamage 5 %reciever% = %args%[2]
- cmd edit cedamage 6 if areaname(%level%, %x%, %y%, %z%) notin %cearena% then exit
- cmd edit cedamage 7 if (%damager% = %p%) or (%damager% notin onlineplayers()) then exit
- cmd edit cedamage 8 if (%reciever% notin onlineplayers()) or (%damager% notin onlineplayers()) then exit
- cmd edit cedamage 9 %rhand% = playerhand(%reciever%)
- cmd edit cedamage 10 %dhand% = playerhand(%damager%)
- cmd edit cedamage 11 if varset(%rhand%[\"tags\"]) = %false% then goto 22
- cmd edit cedamage 22 if varset(%dhand%[\"tags\"]) = %false% then goto 30
- cmd edit cedamage 23 %rand% = random(1, 50)
- cmd edit cedamage 24 if (%rand% = 5) and ("6c696665737465616c" in %dhand%[\"tags\"]) then goto 200
- cmd edit cedamage 30 %rarmor% = playerarmor(%reciever%)
- cmd edit cedamage 31 %leggings% = %rarmor%[2]
- cmd edit cedamage 32 %tunic% = %rarmor%[1]
- cmd edit cedamage 33 %helmet% = %rarmor%[0]
- cmd edit cedamage 34 %boots% = %rarmor%[3]
- cmd edit cedamage 35 if varset(%leggings%[\"tags\"]) = %false% then exit
- cmd edit cedamage 36 %rand% = random(1, 20)
- cmd edit cedamage 37 if (%rand% = 5) and (\"616e67656c6963\" in %leggings%[\"tags\"]) then goto 100
- cmd edit cedamage 38 exit
- cmd edit cedamage
- cmd edit cedamage 100 %status% = playerstatus(%reciever%)
- cmd edit cedamage 102 if 4 >= %status%[\"health\"] then goto 110
- cmd edit cedamage 103 exit
- cmd edit cedamage 110 message %reciever% §b§l**ANGELIC**
- cmd edit cedamage 111 ascon /effect %reciever% regeneration 10 2
- cmd edit cedamage 112 exit
- cmd delete cedamage 200 %status% = playerstatus(%damager%)
- cmd delete cedamage 201 if 18 < %status%[\"health\"] then goto 210
- cmd delete cedamage 202 goto 30
- cmd edit cedamage 200 %status% = playerstatus(%damager%)
- cmd edit cedamage 201 if (%status%[\"health\"] = 20) or (%status%[\"health\"] = 19) or (%status%[\"health\"] = 18) then exit
- cmd edit cedamage 210 message %damager% §b§l**LIFESTEAL**
- cmd edit cedamage 211 %newhp% = %status%[\"health\"] + 4
- cmd edit cedamage 212 treat %damager% %newhp%
- cmd edit cedamage 213 goto 30
- cmd unregister cedamage
- cmd trigger damage cedamage
- cmd create cebreak Custom Enchants by KingOfTurkey38
- cmd edit cebreak 1 load %cearena%
- cmd edit cebreak 2 if varset(%cearena%) = %false% then goto 4
- cmd edit cebreak 3 if areaname(%level%, %x%, %y%, %z%) notin %cearena% then exit
- cmd edit cebreak 4 %hand% = playerhand(%p%)
- cmd edit cebreak 5 if varset(%hand%[\"tags\"]) = %false% then exit
- cmd edit cebreak 6 load %ce%
- cmd edit cebreak 7 if varset(%ce%) = %false% then exit
- cmd edit cebreak 8 if %ce%[\"quickmine\"] = \"false\" then exit
- cmd edit cebreak 9 ascon if \"717569636b6d696e65\" in %hand%[\"tags\"] then /effect %p% haste 3 0
- cmd edit cebreak 10 exit
- cmd unregister cebreak
- cmd trigger break cebreak
- #ADDLORE BY CHINAGIRLNL SHES DISCORD: ChinaGirlNL#5723 ALL CREDITS OF ADDLORE GOES TO HER!
- cmd create addlore
- cmd add addlore %h% = playerhand(%p%)
- cmd add addlore if %h%[\"id\"] = 0 then message %p% Hold the item you want to edit
- cmd add addlore if %h%[\"id\"] = 0 then exit
- cmd add addlore %inv% = playerinventory(%p%)
- cmd add addlore %t% = %h%[\"tags\"]
- cmd add addlore %slot% = %h%[\"invslot\"]
- cmd add addlore %item%[\"id\"] = %h%[\"id\"]
- cmd add addlore %item%[\"variant\"] = %h%[\"variant\"]
- cmd add addlore %item%[\"count\"] = %h%[\"count\"]
- cmd add addlore %item%[\"name\"] = %h%[\"name\"]
- cmd add addlore if varset(%args%[1]) = %false% then message %p% Usage: /addlore <content>
- cmd add addlore if varset(%args%[1]) = %false% then exit
- cmd add addlore %str% = join(%args%[1+], \" \")
- cmd add addlore %strl% = size(%str%)
- cmd add addlore load %hexadecimal%
- cmd add addlore if varset(%hexadecimal%[\"encode\"]) = %false% then %hexadecimal%[\"encode\"] = array(0) - array(0)
- cmd add addlore %enc% = %hexadecimal%[\"encode\"]
- cmd add addlore %num% = int(0)
- cmd edit addlore 99 #99
- cmd add addlore %sub% = substring(%str%, %num%, 1)
- cmd add addlore if varset(%enc%[%sub%]) = %false% then message %p% You've either used a wrong character or didn't create the hexadecimal variable. Please, contact the developer (%sub%)
- cmd add addlore if varset(%enc%[%sub%]) = %false% then exit
- cmd add addlore if varset(%e%) = %true% then %e% = %e% + %enc%[%sub%]
- cmd add addlore if varset(%e%) = %false% then %e% = %enc%[%sub%]
- cmd add addlore %num% = %num% + 1
- cmd add addlore if %num% < %strl% then goto 100
- cmd add addlore %l% = size(%e%) / 2
- cmd add addlore %pos% = %hexadecimal%[\"position\"]
- cmd add addlore if varset(%pos%[%l%]) = %false% then message %p% Too many characters (%l%/159)
- cmd add addlore if varset(%pos%[%l%]) = %false% then exit
- cmd add addlore %l% = %pos%[%l%]
- cmd add addlore if %t% = \"\" then goto 200
- cmd add addlore if (\"0a0700646973706c6179\" in %t%) and (\"0904004c6f726508\" in %t%) then goto 300
- cmd add addlore if \"0a0700646973706c6179\" in %t% then goto 400
- cmd add addlore goto 500
- cmd edit addlore 199 #Empty
- cmd add addlore %new% = \"0a00000a0700646973706c61790904004c6f72650801000000\" + %l% + \"00\" + %e% + \"0000\"
- cmd add addlore goto 1000
- cmd add addlore exit
- cmd edit addlore 299 #With lore
- cmd add addlore %asp% = position(%t%, \"0904004c6f726508\") + 16
- cmd add addlore %aspr% = %asp% + 2
- cmd add addlore %aspe% = size(%t%) - %aspr%
- cmd add addlore %sub1% = substring(%t%, 0, %asp%)
- cmd add addlore %sub2% = substring(%t%, %aspr%, %aspe%)
- cmd add addlore %sub3% = substring(%t%, %asp%, 2)
- cmd add addlore %dec% = int(position(%pos%, %sub3%)) + 1
- cmd add addlore %hex% = %pos%[%dec%]
- cmd add addlore %t% = %sub1% + %hex% + %sub2%
- #Expanded index
- cmd add addlore %nip% = position(%t%, \"0904004c6f726508\") + 24
- cmd add addlore %nipe% = size(%t%) - %nip%
- cmd add addlore %sub1% = substring(%t%, 0, %nip%)
- cmd add addlore %sub2% = substring(%t%, %nip%, %nipe%)
- cmd add addlore %new% = %sub1% + %l% + \"00\" + %e% + %sub2%
- cmd add addlore goto 1000
- cmd edit addlore 399 #With name
- cmd add addlore %dp% = position(%t%, \"0a0700646973706c6179\") + 20
- cmd add addlore %dpe% = size(%t%) - %dp%
- cmd add addlore %sub1% = substring(%t%, 0, %dp%)
- cmd add addlore %sub2% = substring(%t%, %dp%, %dpe%)
- cmd add addlore %new% = %sub1% + \"0904004c6f72650801000000\" + %l% + \"00\" + %e% + %sub2%
- cmd add addlore goto 1000
- cmd edit addlore 499 #With tags
- cmd add addlore %s% = size(%t%) - 2
- cmd add addlore %sub1% = substring(%t%, 0, %s%)
- cmd add addlore %new% = %sub1% + \"0a0700646973706c61790904004c6f72650801000000\" + %l% + \"00\" + %e% + \"0000\"
- cmd add addlore goto 1000
- cmd edit addlore 999 #End
- cmd add addlore %item%[\"tags\"] = %new%
- cmd add addlore %inv%[%slot%] = %item%
- cmd add addlore carry %p% %inv%
- cmd add addlore exit
- cmd create hexadecimal
- cmd add hexadecimal %enci% = array(\" \", \"!\", \"#\", \"$\", \"%\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \"-\", \".\", \"/\")
- cmd add hexadecimal %enci% = %enci% + array(\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \":\", \";\", \"<\", \"=\", \">\", \"?\", \"@\")
- cmd add hexadecimal %enci% = %enci% + array(\"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"G\", \"H\", \"I\", \"J\", \"K\", \"L\", \"M\", \"N\", \"O\", \"P\", \"Q\", \"R\", \"S\", \"T\", \"U\", \"V\", \"W\", \"X\", \"Y\", \"Z\", \"[\", \"]\", \"^\", \"_\", \"`\")
- cmd add hexadecimal %enci% = %enci% + array(\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"{\", \"|\", \"}\", \"~\", \"§\", \"€\")
- cmd add hexadecimal %encv% = array(\"20\", \"21\", \"23\", \"24\", \"25\", \"26\", \"27\", \"28\", \"29\", \"2a\", \"2b\", \"2c\", \"2d\", \"2e\", \"2f\")
- cmd add hexadecimal %encv% = %encv% + array(\"30\", \"31\", \"32\", \"33\", \"34\", \"35\", \"36\", \"37\", \"38\", \"39\", \"3a\", \"3b\", \"3c\", \"3d\", \"3e\", \"3f\", \"40\")
- cmd add hexadecimal %encv% = %encv% + array(\"41\", \"42\", \"43\", \"44\", \"45\", \"46\", \"47\", \"48\", \"49\", \"4a\", \"4b\", \"4c\", \"4d\", \"4e\", \"4f\", \"50\", \"51\", \"52\", \"53\", \"54\", \"55\", \"56\", \"57\", \"58\", \"59\", \"5a\", \"5b\", \"5d\", \"5e\", \"5f\", \"60\")
- cmd add hexadecimal %encv% = %encv% + array(\"61\", \"62\", \"63\", \"64\", \"65\", \"66\", \"67\", \"68\", \"69\", \"6a\", \"6b\", \"6c\", \"6d\", \"6e\", \"6f\", \"70\", \"71\", \"72\", \"73\", \"74\", \"75\", \"76\", \"77\", \"78\", \"79\", \"7a\", \"7b\", \"7c\", \"7d\", \"7e\", \"c2a7\", \"e282ac\")
- cmd add hexadecimal %num% = int(0)
- cmd add hexadecimal %l% = size(%enci%)
- cmd add hexadecimal %ind% = %enci%[%num%]
- cmd add hexadecimal %val% = %encv%[%num%]
- cmd add hexadecimal %encode%[%ind%] = %val%
- cmd add hexadecimal %decode%[%val%] = %ind%
- cmd add hexadecimal %num% = %num% + 1
- cmd add hexadecimal if %num% != %l% then goto 11
- cmd add hexadecimal %hexadecimal%[\"encode\"] = %encode%
- cmd add hexadecimal %hexadecimal%[\"decode\"] = %decode%
- cmd add hexadecimal #Position 0-159
- cmd add hexadecimal %hexadecimal%[\"position\"] = array(\"00\", \"01\", \"02\", \"03\", \"04\", \"05\", \"06\", \"07\", \"08\", \"09\", \"0a\", \"0b\", \"0c\", \"0d\", \"0e\", \"0f\", \"01\", \"02\", \"03\", \"04\", \"05\", \"06\", \"07\", \"08\", \"09\", \"10\", \"11\", \"12\", \"13\", \"14\", \"15\", \"16\", \"17\", \"18\", \"19\", \"1a\", \"1b\", \"1c\", \"1d\", \"1e\", \"1f\")
- cmd add hexadecimal %hexadecimal%[\"position\"] = %hexadecimal%[\"position\"] + array(\"20\", \"21\", \"22\", \"23\", \"24\", \"25\", \"26\", \"27\", \"28\", \"29\", \"2a\", \"2b\", \"2c\", \"2d\", \"2e\", \"2f\", \"30\", \"31\", \"32\", \"33\", \"34\", \"35\", \"36\", \"37\", \"38\", \"39\", \"3a\", \"3b\", \"3c\", \"3d\", \"3e\", \"3f\")
- cmd add hexadecimal %hexadecimal%[\"position\"] = %hexadecimal%[\"position\"] + array(\"40\", \"41\", \"42\", \"43\", \"44\", \"45\", \"46\", \"47\", \"48\", \"49\", \"4a\", \"4b\", \"4c\", \"4d\", \"4e\", \"4f\", \"50\", \"51\", \"52\", \"53\", \"54\", \"55\", \"56\", \"57\", \"58\", \"59\", \"5a\", \"5b\", \"5c\", \"5d\", \"5e\", \"5f\")
- cmd add hexadecimal %hexadecimal%[\"position\"] = %hexadecimal%[\"position\"] + array(\"60\", \"61\", \"62\", \"63\", \"64\", \"65\", \"66\", \"67\", \"68\", \"69\", \"6a\", \"6b\", \"6c\", \"6d\", \"6e\", \"6f\", \"70\", \"71\", \"72\", \"73\", \"74\", \"75\", \"76\", \"77\", \"78\", \"79\", \"7a\", \"7b\", \"7c\", \"7d\", \"7e\", \"7f\")
- cmd add hexadecimal %hexadecimal%[\"position\"] = %hexadecimal%[\"position\"] + array(\"80\", \"81\", \"82\", \"83\", \"84\", \"85\", \"86\", \"87\", \"88\", \"89\", \"8a\", \"8b\", \"8c\", \"8d\", \"8e\", \"8f\", \"90\", \"91\", \"92\", \"93\", \"94\", \"95\", \"96\", \"97\", \"98\", \"99\", \"9a\", \"9b\", \"9c\", \"9d\", \"9e\", \"9f\")
- cmd add hexadecimal save %hexadecimal%
- cmd run hexadecimal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement