NETWORK
Get contents of
https://api.hamp.sh/api/dining/menu/today
Options Under Construction

Contents of URL
SCRIPTING
Get dictionary from
Tdlink

Dictionary
NETWORK
Get contents of
https://api.hamp.sh/api/dining/menu/tomorrow
Options Under Construction

Contents of URL
SCRIPTING
Get dictionary from
Tmrwlink

Dictionary
DATE
Current Date

Date
SCRIPTING
Get numbers from
Date

Numbers
VARIABLES
Set variable
DOTW
to
Numbers
SCRIPTING
If
DOTW
is between
2
and
6
SCRIPTING
If
Date
is less than
2024-08-31 10:45:54
TEXT
The Dining Commons is currently closed. It will be open for breakfast at 09:30. The menu will be:
breakfast

Text
SCRIPTING
Show
Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 13:30:00
and
2024-08-31 15:30:54
TEXT
The Dining Commons is currently closed. It will be open for lunch at 11:30. The menu will be:
lunch

Text
SCRIPTING
Show
Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 18:30:15
and
2024-08-31 21:00:15
TEXT
The Dining Commons is currently closed. It will be open for dinner at 17:00. The menu will be:
dinner

Text
SCRIPTING
Show
Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 10:45:54
and
2024-08-31 13:30:54
TEXT
Breakfast is being served right now! The menu is:
breakfast

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 15:30:15
and
2024-08-31 18:30:15
TEXT
Lunch is being served right now! The menu is:
lunch

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 21:00:39
and
2024-09-01 00:00:39
TEXT
Dinner is being served right now! The menu is:
dinner

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is greater than
2024-09-01 00:00:39
SCRIPTING
If
DOTW
is less than
6
TEXT
The Dining Commons is currently closed. It will be open for breakfast at 09:30. The menu will be:
breakfast

Text
SCRIPTING
Otherwise
TEXT
The Dining Commons is currently closed. It will be open for brunch at 10:00. The menu will be:
lunch

Text
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
If
Date
is less than
2024-08-31 14:00:19
TEXT
The Dining Commons is currently closed. It will be open for brunch at 10:00. The menu will be:
lunch

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 18:00:19
and
2024-08-31 21:00:19
TEXT
The Dining Commons is currently closed. It will be open for dinner at 17:00. The menu will be:
dinner

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 14:00:19
and
2024-08-31 18:00:19
TEXT
Brunch is being served! The menu is:
lunch

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is between
2024-08-31 21:00:19
and
2024-09-01 00:00:19
TEXT
Dinner is being served! The menu is:
dinner

Text
SCRIPTING
End If

If Result
SCRIPTING
If
Date
is greater than
2024-09-01 00:00:19
SCRIPTING
If
DOTW
is greater than
1
TEXT
The Dining Commons is currently closed. It will be open for brunch at 10:00. The menu will be:
lunch

Text
SCRIPTING
Otherwise
TEXT
The Dining Commons is currently closed. It will be open for breakfast at 09:30. The menu will be:
breakfast

Text
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
Otherwise
SCRIPTING
End If

If Result
SCRIPTING
Show
If Result