wifinigel.MikrotikScripting/scripts/v6/ch5-05-indentation.rsc
2023-01-24 20:28:40 +00:00

10 lines
No EOL
222 B
Text

# ch5-05-indentation.rsc
# Create an if-else statement with no additional indentation
:local DayOfWeek "Monday";
if ($DayOfWeek = "Monday") do={
:put "Boo...it's Monday.";
} else={
:put "Yay! It's not Monday!";
}