Getting Started
Rules
Character Mover
Optimization Guide
EZ Wiki
EZ Guide
Magelo
Zone List
Spell Recipes
T10.5 Spell Recipes
Crafting Recipes
Donate
EZ Player Discord
EZ Server Files
EZ Client Downloads
Custom UF MiniMap
Custom UF Inventory
EQEmulator Home
Allakhazam Home
UFMissingFilesList
TwitchTV
@echo offSETLOCAL enabledelayedexpansionset "_serverId=LastServerID"set "_serverName=EZ (Linux) x4 Exp"set BackupFile=<path to MQ>\MQ2AutoLogin.txtset OutFile=<path to MQ>\MQ2AutoLogin.iniset firstFile=<path to ROF2>\eqlsPlayerData.iniecho Getting server number...FOR /F "usebackq tokens=1,2 delims== " %%a IN ("%FirstFile%") DO (if "%%a" equ "%_serverId%" (set serverID=%%b))echo Server number is: %serverID%echo Backing up MQ2AutoLogin.ini file...COPY "%OutFile%" "%BackupFile%"echo Backup completeecho Rewriting .ini file...>"%OutFile%" (FOR /F "usebackq tokens=1,2 delims==" %%i IN ("%BackupFile%") DO ( IF "%%j"=="" (ECHO %%i) ELSE ( IF "%%i" EQU "%_serverName%" (echo %%i=%serverID%) else (echo %%i=%%j) )))echo Finished writing .ini fileENDLOCAL@pause