mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-09 17:44:30 +02:00
final edit fixes
This commit is contained in:
parent
b10b99bd87
commit
f3beb2ed9b
41 changed files with 164 additions and 150 deletions
|
@ -5,7 +5,7 @@
|
|||
:put "The current time is : $CurrentTime";
|
||||
|
||||
# declare the time of day variable
|
||||
:local TimeOfDay
|
||||
:local TimeOfDay;
|
||||
|
||||
# Check if it's before noon
|
||||
:if ($CurrentTime < 12:00) do={
|
||||
|
@ -13,7 +13,8 @@
|
|||
# it's before noon, let's see what time of the morning
|
||||
# it is using a nested if-else statement
|
||||
if ($CurrentTime < 06:00) do={
|
||||
:set TimeOfDay "It's very early in the morning...shouldn't you be in bed?";
|
||||
:set TimeOfDay "It's very early in the morning...shouldn't \
|
||||
you be in bed?";
|
||||
} else={
|
||||
# it must be between 06:01 and 11:59 to reach here
|
||||
:set TimeOfDay "Good morning!";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue