mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 02:04:56 +02:00
global-functions: add identity tag in $SendNotification
... and send subject in telegram message.
This commit is contained in:
parent
c4f8c1ad52
commit
6e4d715937
9 changed files with 13 additions and 11 deletions
|
@ -66,7 +66,7 @@
|
|||
# Run different commands with multiple mode-button presses.
|
||||
:global "mode-button" {
|
||||
1="/ system script run leds-toggle-mode;";
|
||||
2=":global SendNotification; :global identity; \$SendNotification (\"[\" . \$identity . \"] Hello...\") (\"Hello world, \" . \$identity . \" calling!\");";
|
||||
2=":global SendNotification; :global identity; \$SendNotification (\"Hello...\") (\"Hello world, \" . \$identity . \" calling!\");";
|
||||
3="/ system shutdown;";
|
||||
4="/ system reboot;";
|
||||
5="/ system script run bridge-port-toggle;";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue