forked from xSerpentineX/BubbleBoiBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loopAll.bat
87 lines (75 loc) · 1.91 KB
/
loopAll.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
78
79
80
81
82
83
84
85
86
87
@mode 70,40
@echo off
title Bubbly Boi Bot v1.7 - Starter
echo.
echo BubblyBoiBot v1.7
echo Original bot programmed by alekxeyuk
echo Spam Integrated Bot programmed by TheLoveableBubblyNoodle#6853
echo Batch support programmed by ! [( TheGamerX )]#7912
echo.
echo.
echo [*] Loading Config File
for /F "usebackq tokens=*" %%a in ("exec\loopAll.config") do (
set %%a
)
echo.
if "%hidden%"=="true" (
echo [*] Running in hidden mode
) else (
echo [*] Running in minimized mode
)
TIMEOUT /T 2 /NOBREAK >nul
echo.
echo [/] Starting port 5001
for /l %%x in (1, 1, %startTimes%) do (
echo [*] Running port 5001 time %%x
if "%devSkip%"=="false" (
if "%hidden%"=="true" (
exec\Quiet loop5001 >nul 2>&1
) else (
start "Port 5001" /MIN exec\loop5001
)
)
TIMEOUT /T %delay% /NOBREAK >nul
)
echo.
echo [/] Starting port 5002
for /l %%x in (1, 1, %startTimes%) do (
echo [*] Running port 5002 time %%x
if "%devSkip%"=="false" (
if "%hidden%"=="true" (
exec\Quiet loop5001 >nul 2>&1
) else (
start "Port 5002" /MIN exec\loop5002
)
)
TIMEOUT /T %delay% /NOBREAK >nul
)
echo.
echo [/] Starting port 5003
for /l %%x in (1, 1, %startTimes%) do (
echo [*] Running port 5003 time %%x
if "%devSkip%"=="false" (
if "%hidden%"=="true" (
exec\Quiet loop5001 >nul 2>&1
) else (
start "Port 5003" /MIN exec\loop5003
)
)
TIMEOUT /T %delay% /NOBREAK >nul
)
echo.
echo.
echo Press [1] to close this window
echo Press [9] to exit the other instances
echo.
exec\choice /C:19 /N
if %errorlevel%==1 (
echo [*] Closing this window
)
if %errorlevel%==2 (
echo [*] Killing Nodes
TASKKILL /F /FI "WINDOWTITLE eq Bubbly Boi Bot - Port*" /IM "cmd.exe"
TASKKILL /F /FI "WINDOWTITLE eq Bubbly Boi Bot - Port*" /IM "python.exe"
)
TIMEOUT /T 3 /NOBREAK >nul