Ok, to do this, you need to do descirption.ext, and somesciprtin, you can do some of the scripts to editor, but this is the easiest way...
First, we start about descirption, I hope you know how to do description...
Start description with line like this..
titleParam1 = "Time of Day";
valuesParam1[] = {1, 2, 3, 4};
defValueParam1 = 1;
textsParam1[] = {"Dawn", "Day", "Dusk", "Night"};
This will make the select box, but this will not work alone, you need small script...
?(Param1 == 1) : goto "Dawn"
?(Param1 == 2) : goto "day"
?(Param1 == 3) : goto "dusk"
?(Param1 == 4) : goto "night"
#Dawn
SkipTime 4
goto "End"
#day
SkipTime 13
goto "End"
#Dusk
SkipTime 20
goto "End"
#night
SkipTime 23
goto "End"
#End
exit
If you name that script like param1.sqs, select one unit, what surelly is in your map, and write "this exec "param1.sqs"
Ask, what you didnt understood, because Im going to Sauna, so I cant write books about this