[s2781] Implement script support for quest 9879

This will use the same base code as quest 9868.
Also, please note that this commit involves a lot of guesswork.

(based on commit SD2[2997] - 91e42e2)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>