ClientScript:
(in a ref walk)set Dispatcher.var1 to var1....set Dispatcher.varN to varNsetStage Dispatcher 1
Dispatcher stage function: (interface variables declared in quest script)
set i to 0set n to listGetCount QuestListLabel 99if i < n set quest to listGetNthForm QuestList i if quest != 0 setStage quest 1 endif set i to i + 1 goto 99endif
And the stage functions:
set var1 to Dispatcher.var1....set varN to Dispatcher.varN(do whatever you like)
So with this method the mod-added stage functions will be executed sequentially, and they could access results from their predecessor or some common state that would allow for limited coordination.