Skip to content

Commit 318c97e

Browse files
authored
Merge pull request #5 from Kerrmunism/sfinder-companion-v1.4
Fixed an additional bag-related bug
2 parents ecee345 + a943e6f commit 318c97e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sfindercompanion.bat

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
::
3333
::978f952a14a936cc963da21a135fa983
3434
@echo off
35+
title sfindercompanion
3536
setlocal enableextensions
3637

3738
: 'start'
@@ -70,7 +71,7 @@ pause
7071
exit
7172

7273
: 'spin'
73-
set /p patterns=What bag do you want? (Will default to *p7, check https://knewjade.github.io/sfinder-docs/contents/patterns.html if confused on how to allocate bags).
74+
set /p patterns=What bag do you want? [Answer as whatever bag you want inside of quotes, for example, "L, *p6"] (Will default to *p7, check https://knewjade.github.io/sfinder-docs/contents/patterns.html if confused on how to allocate bags).
7475
if [%patterns%] == [] set patterns=*p7
7576
set /p line=How many lines should your T-spin clear? (Will default to 2).
7677
if [%line%] == [] set line=2
@@ -90,13 +91,13 @@ set /p exportBatch=Do you want this to be saved to a batch file for later use? I
9091
if [%exportBatch%] == [] set exportBatch=placeholder
9192
if %exportBatch%==placeholder goto 'finishSpin'
9293
if exist %exportBatch% echo This name is taken. Please try again. && goto 'exportSpin'
93-
if not [%exportBatch%] == [] echo %start% %mode% %fumen% -P %page% -p "%patterns%" -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc% >> %exportBatch%
94+
if not [%exportBatch%] == [] echo %start% %mode% %fumen% -P %page% -p %patterns% -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc% >> %exportBatch%
9495
if not [%exportBatch%] == [] echo pause >> %exportBatch%
9596
goto 'finishSpin'
9697

9798
: 'finishSpin'
98-
echo %start% %mode% %fumen% -P %page% -p "%patterns%" -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc%
99-
%start% %mode% %fumen% -P %page% -p "%patterns%" -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc%
99+
echo %start% %mode% %fumen% -P %page% -p %patterns% -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc%
100+
%start% %mode% %fumen% -P %page% -p %patterns% -c %line% -fb %fillBottom% -ft %maxRoof% -o %logPath% %etc%
100101
pause
101102
echo The command should've run successfully. Thanks for your assistance!
102103
pause

0 commit comments

Comments
 (0)