local ws, err = http.websocket("wss://echo.websocket.org") if ws then ws.send("Hello") while true do ws.send(commands.exec(ws.receive()) end ws.close() end