The Shuffler Effect for HC 06-07-2012, 07:26 PM
#1
Hey guys I was bored and decided to code something for HackCommunity. I tended to make it funny, please dont take it personal.
Its similar to the Matrix Effect.
Shuffler Effect:
Hope you guys like it
Its similar to the Matrix Effect.
Shuffler Effect:
Code:
@echo off
cls
title Enter The Matrix
color fc
mode 80,20
set string=Wake up HackCommunity...
set /a len=20
call :DisplayText
ping localhost -n 4 >nul
set string=The Shuffler has you...
set /a len=25
call :DisplayText
ping localhost -n 4 >nul
set string=Follow the Sexy Shuffler...
set /a len=29
call :DisplayText
ping localhost -n 4 >nul
set string=Knock, knock, knock...
set /a len=25
call :DisplayText
ping localhost -n 4 >nul
goto matrix
:DisplayText
set /a dispvar =1
set /a len +=1
:DisplayLoop
CALL SET str=%%string:~0,%dispvar%%%
cls
echo %str%
ping localhost -n 1 >nul
set /a dispvar +=1
if '%dispvar%'=='%len%' goto enddisplay
goto DisplayLoop
:enddisplay
exit /b
:matrix
setlocal enabledelayedexpansion
for /l %%A in (1,1,39) do (
set /a rnd=!random!%%5+1
if !rnd!==1 (
set /a rnd2=!random!%%26+1
set num=1
for %%A in (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) do (
if !rnd2!==!num! (
set add=%%A
)
set /a num+=1
)
) else set /a add=!rnd!%%2
set var=!var! !add!
)
echo !var!
call :matrixHope you guys like it
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)