-
Notifications
You must be signed in to change notification settings - Fork 0
/
PHM2D Idle 1.3 Manual - Basic.bat
77 lines (65 loc) · 2.69 KB
/
PHM2D Idle 1.3 Manual - Basic.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@echo off
setlocal enabledelayedexpansion
mode 108,28
title PHM2D Idle
cls
:BeginART
:loopART
set /a rand1=%random% %% 1
set /a rand2=%random% %% 16
set HEX=023456789ABCDEF
call set hexcolors=%%HEX:~%rand1%,1%%%%HEX:~%rand2%,1%%
color %hexcolors%
:::
::: ,---. U
::: ; \ ;
::: .==\"/==. `-.___.-'
::: ((+) . .:)
::: |`.-(o)-.'|
::: .-''-. _______ \/ \_/ \/
::: _________ _...._ . __ __ ___ .' .-. ) \ ___ `'.
::: \ |.' '-. .'| | |/ `.' `. / .' / / ' |--.\ \
::: \ .'```'. '.< | | .-. .-. '(_/ / / | | \ '
::: \ | \ \| | | | | | | | / / | | | '
::: | | | || | .'''-. | | | | | | / / | | | |
::: | \ / . | |/.'''. \| | | | | | . ' | | ' .'
::: | |\`'-.-' .' | / | || | | | | | / / _.-')| |___.' /'
::: | | '-....-'` | | | ||__| |__| |__|.' ' _.'.-''/_______.'/
::: .' '. | | | | / /.-'_.' \_______|/
::: '-----------' | '. | '. / _.'
::: '---' '---' ( _.-'
for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A
echo Welcome to the Idle Kingdom...
echo The code is co-created by: "Magoo"
timeout /t 1 > nul
goto Begin
:Begin
echo.
for /L %%e in (1,1,32) do set "commandvar%%e="
for /L %%e in (1,1,32) do (
set /P CommandVar%%e="Insert ID to Idle %%e: "
echo !Commandvar%%e!>>ID.txt
if not defined commandvar%%e (
if %%e==1 goto Begin
goto startprocs
)
)
:loop
:startprocs
setlocal EnableDelayedExpansion
echo.
for /L %%e in (1,1,32) do if defined commandvar%%e call start /min "Idle %%e" steam-idle.exe %%commandvar%%e%%
rem wait 300 seconds (5 minutes)
echo.
for /F %%# in ('copy /Z "%~dpf0" NUL') do set "CR=%%#"
for /L %%n in (300 -1 0) do (
<nul set /P ".=Countdown [%%n] !CR!"
ping localhost -n 2 > nul
tasklist /fi "imagename eq steam-idle.exe" |find ":" > nul
if NOT errorlevel 1 goto Begin
)
taskkill /f /im steam-idle.exe
echo.
timeout /t 7
ENDLOCAL
goto loop