@echo off title "NodeJS WebSocket Test Server" rem Get run mode or set default if nothing was provided set /p mode="Enter mode (custom / twitch) [default: custom]: " if "%mode%"=="" set mode=custom rem Get target information or set default if nothing was provided set /p target="Enter target (custom url / twitch channel): " if "%target%"=="" if "%mode%"=="custom" set target=wss://echo.websocket.org rem Execute the script with given information node index.js %mode% %target%