You can use a table for example:
function Test()
local Table = {{1--[[Hour]], 10--[[Event]]}, {2, 20}, {3, 30}} -- etc ..
for data, value in ipairs(Table) do
if Hour == value[1] and Event == value[2] then
-- code
end
end
Don't know if works just must be like this. If I understood you right .