I want two strings of passages - one representing week days and the other Sat/Sun and I want them to link so the player goes through the first string 5 times (Mon - Fri) and on Fri eve is given a link to the 2nd thread which will cycle twice to represent Sat-Sun before returning to Mon morning.
I've already managed that bit by upping the value $day by one on the days end passage with an if statement that asks if the value is 5 i.e. Friday, then it gives you the link for the weekend thread.
I think what I want to do is have a revolving list of values, say for simplicity - Monday - Sunday, that alters one position in the sequence every time the player reaches the midnight/morning passage.
How can I make this work please?