any way of makeing script
that reacts on topic change and returns topic
on original one (that user provides in code, not
that script has to see what was previous topic)

?