Advertisement
FoddEx

Discord Text Manipulation Tool

Jan 10th, 2018
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.84 KB | None | 0 0
  1. @echo off
  2. :: ---------------------------------------
  3. :: Discord Text Manipulation Tool
  4. :: By @Inwayn#1590
  5. ::
  6. :: Last updated: 11.01.2018, 13:25
  7. :: ---------------------------------------
  8. setlocal enabledelayedexpansion
  9. title Discord Text Manipulation Tool
  10. set f=a,b,c,d,e,f,g,h,j,i,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
  11. set h=:zero:-0,:one:-1,:two:-2,:three:-3,:four:-4,:five:-5,:six:-6,:seven:-7,:eight:-8,:nine:-9,:hash:-#
  12. set i=:white_check_mark:
  13. set a=BIG
  14. :a
  15. cls
  16. if not "!a!"=="BIG" (
  17.     if not "!a!"=="SMALL" (
  18.         echo Error.
  19.         pause > nul
  20.         exit
  21.     ) else (
  22.         set "b=\"
  23.     )
  24. ) else (
  25.     set "b= "
  26. )
  27. set /p t="(!a!) Text: "
  28. if /i "!t!"=="\B" (
  29.     set a=BIG
  30.     goto a
  31. )
  32. if /i "!t!"=="\S" (
  33.     set a=SMALL
  34.     goto a
  35. )
  36. setlocal
  37. set e=!t!
  38. :c
  39. if not defined e goto e
  40. set "g=!e:~0,1!"
  41. for %%A in (!f!) do (
  42.     if /i "%%A"=="!g!" (
  43.         set g=%%A
  44.         goto d
  45.     )
  46. )
  47. if "!g!"==" " goto d
  48. for %%A in (!h!) do (
  49.     for /f "tokens=1,2 delims=-" %%B in ("%%A") do (
  50.         if "%%C"=="!g!" (
  51.             set "o=!o!!b!%%B"
  52.             set "e=!e:~1!"
  53.             goto c
  54.         )
  55.     )
  56. )
  57. if !a!==BIG (
  58.     set "o=!o! **!g!**"
  59. ) else (
  60.     set "o=!o!!g!"
  61. )
  62. set "e=!e:~1!"
  63. goto c
  64. :d
  65. if "!g!"==" " (
  66.     if !a!==BIG (
  67.         set "o=!o!      "
  68.     ) else (
  69.         set "o=!o! "
  70.     )
  71. ) else (
  72.     set "o=!o!!b!:regional_indicator_!g!:"
  73. )
  74. set "e=!e:~1!"
  75. goto c
  76. :e
  77. if /i "!t!"=="rekt" set "o=!o!!b!!i!"
  78. if /i "!t!"=="not rekt" set "o=!o!!b!:x:"
  79. if /i "!t!"=="prankt" set "o=!o!!b!!i!"
  80. if /i "!t!"=="pranked" set "o=!o!!b!!i!"
  81. if /i "!t!"=="nice meme" set "o=!o!!b!!i!"
  82. if /i "!t!"=="bad meme" set "o=!o!!b!:x:"
  83. if /i "!t!"=="not allowed" set "o=!o!!b!:no_entry_sign:"
  84. if /i "!t!"=="stop" set "o=!o!!b!:no_entry:"
  85. echo !o!
  86. <nul set /p ="!o!"|clip
  87. timeout /t 2 >nul
  88. endlocal
  89. goto a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement