From ff26a28d0526410a8f4d74ed1fc57ebefaee703c Mon Sep 17 00:00:00 2001 From: laspavel Date: Mon, 31 Oct 2022 17:07:42 +0200 Subject: [PATCH] Add UTF8 text messages - 2 --- RebootStatus.rsc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/RebootStatus.rsc b/RebootStatus.rsc index b0320e2..23315c1 100644 --- a/RebootStatus.rsc +++ b/RebootStatus.rsc @@ -1,10 +1,5 @@ # https://www.urlencoder.org/ :global ReBootStatus; -:local DeviceName [/system identity get name]; -:local MessageText ("*RebootStatus%20$DeviceName*%3A%20I%20REBOOT%20NOW%20%21%21%21"); -:local SendTelegramMessage [:parse [/system script get SendTelegram source]]; -$SendTelegramMessage MessageText=$MessageText; -:set ReBootStatus true; :if ($ReBootStatus != true) do={ :local DeviceName [/system identity get name]; :local MessageText ("RebootStatus $DeviceName: I reboot now!");