mirror of
https://github.com/pothi/mikrotik-lte-scripts.git
synced 2025-12-17 16:09:30 +00:00
A new script from forum; improve existing scripts
This commit is contained in:
parent
664f80d7c7
commit
b1a9e9ea46
4 changed files with 48 additions and 4 deletions
|
|
@ -5,9 +5,10 @@
|
|||
# Source: https://forum.mikrotik.com/viewtopic.php?f=9&t=61068#p312202
|
||||
|
||||
:global adminPh
|
||||
:if ([:typeof $adminEmail] = "nothing" || $adminEmail = "") do={ :log error "adminEmail is not defined or nil."; :error "Error: Check the log"; }
|
||||
:if ([:typeof $adminPh] = "nothing" || $adminPh = "") do={
|
||||
:log error "adminPh is not defined or nil."; :error "Error: Check the log"; }
|
||||
|
||||
:local smsForwardPh $adminPh
|
||||
:if ([:typeof $adminPh] = "nothing" || $adminPh = "") do={ :log error "adminPh is not defined or nil."; :error "Error: Check the log"; }
|
||||
|
||||
:local smsPhone
|
||||
:local smsMessage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue