Jump to content

OSRS Ping checker


Saiyan

Recommended Posts

Im not sure if this has been done before, but I found this online so I thought i'd post it for everyone to utilise.

 

Step 1:

 

Open notepad

 

Step 2:

Copy paste this into notepad

 

@ECHO OFF
:BEGIN
CLS
CHOICE /N /C:123 /M "Choose [1] F2P Worlds, [2] P2P Worlds, or [3] both: "
IF %ERRORLEVEL%==1 GOTO F2P
IF %ERRORLEVEL%==2 GOTO P2P
IF %ERRORLEVEL%==3 GOTO BOTH
:F2P
CLS
ECHO F2P Worlds
ECHO ----------------------------
SET f2pworlds=1,8,16,26,35,81,82,83,84,85,93,94
FOR %%i IN (%f2pworlds%) DO (
ECHO | SET /p=World %%i
FOR /F "tokens=5" %%a IN ('Ping oldschool%%i.runescape.com -n 1 ^| FIND "time="') DO ECHO %%a
)
GOTO LOOP
:P2P
CLS
ECHO P2P Worlds
ECHO ----------------------------
SET p2pworlds=2,3,4,5,6,9,10,11,12,13,14,17,18,19,20,21,22,27,28,29,30,33,34,36,38,41,42,43,44,45,46,49,50,51,52,53,54,57,58,59,60,61,62,66,67,68,69,70,73,74,75,76,77,78,86
FOR %%i IN (%p2pworlds%) DO (
ECHO | SET /p=World %%i
FOR /F "tokens=5" %%a IN ('Ping oldschool%%i.runescape.com -n 1 ^| FIND "time="') DO ECHO %%a
)
GOTO LOOP
:BOTH
CLS
ECHO All Worlds
ECHO ----------------------------
SET bothworlds=1,2,3,4,5,6,8,9,10,11,12,13,14,16,17,18,19,20,21,22,25,26,27,28,29,30,33,34,35,36,37,38,41,42,43,44,45,46,49,50,51,52,53,54,57,58,59,60,61,62,65,66,67,68,69,70,73,74,75,76,77,78,81,82,83,84,85,86,93,94
FOR %%i IN (%bothworlds%) DO (
ECHO | SET /p=World %%i
FOR /F "tokens=5" %%a IN ('Ping oldschool%%i.runescape.com -n 1 ^| FIND "time="') DO ECHO %%a
)
GOTO LOOP
:LOOP
CHOICE /N /M "Restart (y/n): "
IF %ERRORLEVEL%==1 GOTO BEGIN
IF %ERRORLEVEL%==2 GOTO EXIT
:EXIT
end

 

Step 3:

Call the file whatever you want but save it as a .bat eg PingWorlds.bat

 

Step 4: Click on it and run follow the prompts also

  • Like 3
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...