mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
daily-psk: add symbol in notification
This commit is contained in:
parent
49737af6d1
commit
1367a59c27
4 changed files with 7 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
:global SymbolForNotification;
|
||||||
:global UrlEncode;
|
:global UrlEncode;
|
||||||
:global WaitForFile;
|
:global WaitForFile;
|
||||||
:global WaitFullyConnected;
|
:global WaitFullyConnected;
|
||||||
|
@ -87,7 +88,7 @@ $WaitFullyConnected;
|
||||||
:set Attach "";
|
:set Attach "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$SendNotification ("daily PSK " . $Ssid) \
|
$SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \
|
||||||
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
||||||
"SSID: " . $Ssid . "\n" . \
|
"SSID: " . $Ssid . "\n" . \
|
||||||
"PSK: " . $NewPsk . "\n" . \
|
"PSK: " . $NewPsk . "\n" . \
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
:global SymbolForNotification;
|
||||||
:global UrlEncode;
|
:global UrlEncode;
|
||||||
:global WaitForFile;
|
:global WaitForFile;
|
||||||
:global WaitFullyConnected;
|
:global WaitFullyConnected;
|
||||||
|
@ -87,7 +88,7 @@ $WaitFullyConnected;
|
||||||
:set Attach "";
|
:set Attach "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$SendNotification ("daily PSK " . $Ssid) \
|
$SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \
|
||||||
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
||||||
"SSID: " . $Ssid . "\n" . \
|
"SSID: " . $Ssid . "\n" . \
|
||||||
"PSK: " . $NewPsk . "\n" . \
|
"PSK: " . $NewPsk . "\n" . \
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
:global SymbolForNotification;
|
||||||
:global UrlEncode;
|
:global UrlEncode;
|
||||||
:global WaitForFile;
|
:global WaitForFile;
|
||||||
:global WaitFullyConnected;
|
:global WaitFullyConnected;
|
||||||
|
@ -93,7 +94,7 @@ $WaitFullyConnected;
|
||||||
:set Attach "";
|
:set Attach "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$SendNotification ("daily PSK " . $Ssid) \
|
$SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \
|
||||||
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
("This is the daily PSK on " . $Identity . ":\n\n" . \
|
||||||
"SSID: " . $Ssid . "\n" . \
|
"SSID: " . $Ssid . "\n" . \
|
||||||
"PSK: " . $NewPsk . "\n" . \
|
"PSK: " . $NewPsk . "\n" . \
|
||||||
|
|
|
@ -783,6 +783,7 @@
|
||||||
:set SymbolByUnicodeName do={
|
:set SymbolByUnicodeName do={
|
||||||
:local Symbols {
|
:local Symbols {
|
||||||
"alarm-clock"="\E2\8F\B0";
|
"alarm-clock"="\E2\8F\B0";
|
||||||
|
"calendar"="\F0\9F\93\85";
|
||||||
"cross-mark"="\E2\9D\8C";
|
"cross-mark"="\E2\9D\8C";
|
||||||
"fire"="\F0\9F\94\A5";
|
"fire"="\F0\9F\94\A5";
|
||||||
"floppy-disk"="\F0\9F\92\BE";
|
"floppy-disk"="\F0\9F\92\BE";
|
||||||
|
|
Loading…
Reference in a new issue