You can't find what you are looking for because this is the most basic logic out there.
There's 24 hours per day, write down each hours of the day and write down if that hour should be allowed:

0 = yes
...
3 = no (after 3 am, no)
...
21 =
22 = yes (after 10 pm, yes)

Once you have that, you'll realize that you need check if the number representing the hours is either of those number with the yes mark

Last edited by Wims; 06/06/17 04:54 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel