MV Game Time and Shop keepers

So I am using DK's Game time plugin and am trying to figure something out, but need some help. How would I go at setting up a script call in an npc event to tell what time it is so they tell the player that the store is closed when I am using real time? Say for example I want the shop to be unavailable at 11am, what would the script call for that look like?
Plugin: https://forums.rpgmakerweb.com/index.php?threads/game-time-time-system.130854/
Code:
 # Get time and date #
 $gameTime.ms - get milliseconds
 $gameTime.sec - get seconds
 $gameTime.min - get minutes
 $gameTime.hour - get hour
 $gameTime.day - get day
 $gameTime.dayPeriod - get day period (0 - morning, 1 - day, 2 - evening, 3 - night) (depends on period settings)
 $gameTime.dayWeek - get day week (0 - monday, 6 - sunday)
 $gameTime.dayYear - get day of the year
 $gameTime.week - get week number
 $gameTime.month - get month (0 - january, 11 - december)
 $gameTime.year - get year
 $gameTime.season - get season (0 - winter, 1 - spring, 2 - summer, 3 - autumn)
 $gameTime.date - get date (day, month, year)
 $gameTime.time - get time (ms, sec, min, hour)
 $gameTime.speed - get speed
 $gameTime.speedRatio - get speed ratio

These are to get the time/day/month/etc, so I think you should set a variable "hour" to $gameTime.hour and then make a condition branch which tell the game is shop open or closed depending on the variable hour >= 11 or sth.
alternatively you could use the event page conditions for the hour variable and simply have different pages with different responses active at different times.
Code:
 # Get time and date #
 $gameTime.ms - get milliseconds
 $gameTime.sec - get seconds
 $gameTime.min - get minutes
 $gameTime.hour - get hour
 $gameTime.day - get day
 $gameTime.dayPeriod - get day period (0 - morning, 1 - day, 2 - evening, 3 - night) (depends on period settings)
 $gameTime.dayWeek - get day week (0 - monday, 6 - sunday)
 $gameTime.dayYear - get day of the year
 $gameTime.week - get week number
 $gameTime.month - get month (0 - january, 11 - december)
 $gameTime.year - get year
 $gameTime.season - get season (0 - winter, 1 - spring, 2 - summer, 3 - autumn)
 $gameTime.date - get date (day, month, year)
 $gameTime.time - get time (ms, sec, min, hour)
 $gameTime.speed - get speed
 $gameTime.speedRatio - get speed ratio

These are to get the time/day/month/etc, so I think you should set a variable "hour" to $gameTime.hour and then make a condition branch which tell the game is shop open or closed depending on the variable hour >= 11 or sth.
That worked. Thanks.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/game-time-and-shop-keepers.166783/