A new script from forum; improve existing scripts

This commit is contained in:
Pothi Kalimuthu 2022-11-08 21:18:05 +05:30
parent 664f80d7c7
commit b1a9e9ea46
No known key found for this signature in database
GPG key ID: 08202A469C2D0E06
4 changed files with 48 additions and 4 deletions

View file

@ -6,7 +6,8 @@
# even if email and forward fail! So, test it often!
:global adminEmail
:if ([:typeof $adminEmail] = "nothing" || $adminEmail = "") do={ :log error "adminEmail is not defined or nil."; :error "Error: Check the log"; }
:if ([:typeof $adminEmail] = "nothing" || $adminEmail = "") do={
:log error "adminEmail is not defined or nil."; :error "Error: Check the log"; }
:local smsPhone
:local smsMessage