This script allows you to indirectly stack events by using a single event to store event pages for multiple events. The game then sorts the pages and then splits it up into multiple events that are stacked on top of each other.
To create a stacked event, you need to do two things
1. The name of the event must have the word [stack]
2. Each page must indicate which event in the stack they belong to.
For each page, create a comment of the form
<stack: x>Where x is some value used to distinguish between different events in thestack. The value you choose is not important as long as you are consistent.
The pages will be grouped based on these stack ID's. You can use numbers
or letters, or even words.
Notes
I am not sure how stacked events would be used. Try it out and comment on how this script could be improved.