Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Download functions from my pastebin

Hello all ^-^

If you've been following my video tutorials, then you'll be happy to have a script that will download a copy of functions out of my pastebin for your use.

For those who haven't seen my videos, the script opens a link to my YouTube channel, and you will have a set of my functions, and a list of tutorials how to use them. Enjoy!

[Image: b192ba673ff70fc1ff8aa2967a673f32.png]

Save as *.bat
Code
@echo off & setlocal enableDelayedExpansion
    
call :init
echo.
echo   To use these scripts, RIGHT-CLICK/COPY them from IckyScripts,
echo.
echo      and PASTE into whatever script you're writting.
echo.
for /l %%0 in (1,1,%scripts%) do (
    for /f "tokens=1,2" %%a in ("!script[%%~0]!") do (
        set "pb=%%~b" & set "pb=!pb:~0,-1!"
        if not exist %%~a.bat (
            call :download "https://pastebin.com/raw/!pb!" "%%~a.bat" && (
                echo       Successfully downloaded %%~a
            ) || echo       Error downloading %%~a
        ) else echo       Already exists %%~a.bat
    )
)
echo.
echo   Thanks for downloading!
echo.
echo   See my video tutorials on how to use them
echo.
echo   https://www.youtube.com/channel/UCUy4yFeuVZv7kxc2q86yQZA
echo.
start https://www.youtube.com/channel/UCUy4yFeuVZv7kxc2q86yQZA
pause & exit


:init
mode 80,40
echo.
echo   Downloading to %userprofile%\desktop\ickyScripts
if not exist "%userprofile%\desktop\ickyScripts" md "%userprofile%\desktop\ickyScripts"
cd %userprofile%\desktop\ickyScripts

    for %%a in ("canvas      MTKPhpCY"
                "mathMacros  R0BNdSWR"
                "plot        tmYcfTFH"
                "circle      hEW9wmEJ"
                "plotLine    QfPcDDN4"
                "rect        tCiuhJYJ"
                "ellipse     jd38Kx1m"
                "print       ae1djBvf"
                "cursorpos   9X24yL8b"
                "cMouse      Wp78VjX7"
                "swap        idiFAEj7"
                "length      8vnTsQxr") do (
            set /a "scripts+=1"
            set "script[!scripts!]=%%a"
    )
goto :eof

:Download <url> <File>
    Powershell.exe -command "(New-Object System.Net.WebClient).DownloadFile('%1','%2')"
goto :eof
Thanks for the share mate.
Hi 🤝
Thank you for this nice share, i really appreciate the method that use the array in this script
Well done 👍 and keep the good work ✌


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by FileBossOct 23, 2016 11:41 AM 1 594 Oct 23, 2016 11:41 AM
Last Post: 'Cynical
[Python] by Hannah MontanaJun 12, 2013 01:51 PM 10 291 Jun 12, 2013 01:51 PM
Last Post: feudin
[C] by BreakoutMar 30, 2013 07:11 AM 2 120 Mar 30, 2013 07:11 AM
Last Post: atom0s