summaryrefslogtreecommitdiff
path: root/plugins/IMO2sProxy/bin/setupimo.bat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IMO2sProxy/bin/setupimo.bat')
-rw-r--r--plugins/IMO2sProxy/bin/setupimo.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/IMO2sProxy/bin/setupimo.bat b/plugins/IMO2sProxy/bin/setupimo.bat
new file mode 100644
index 0000000000..9c765c6479
--- /dev/null
+++ b/plugins/IMO2sProxy/bin/setupimo.bat
@@ -0,0 +1,24 @@
+@echo off
+SET /P USER=Skype username:
+IF "%USER%"=="" (
+ echo Username is mandatory, aborting.
+ GOTO fini
+)
+SET /P PASS=Skype password:
+IF "%PASS%"=="" (
+ echo Password is mandatory, aborting.
+ GOTO fini
+)
+SET /P IP=Bind to IP [0.0.0.0]:
+SET /P PORT=Bind to Port [1401]:
+SET /P DAEM=Do you want to daemonize [N]:
+IF /I "%DAEM%" NEQ "Y" SET /P VERB=Do you want verbose command output [N]:
+IF /I "%DAEM%"=="Y" SET CMDLINE=%CMDLINE% -d
+IF /I "%VERB%"=="Y" SET CMDLINE=%CMDLINE% -v
+IF NOT "%IP%"=="" SET CMDLINE=%CMDLINE% -h %IP%
+IF NOT "%PORT%"=="" SET CMDLINE=%CMDLINE% -p %PORT%
+SET CMDLINE=%CMDLINE% %USER% %PASS%
+echo imo2sproxy %CMDLINE% >startimo.bat
+echo startimo.bat created.
+:fini
+pause