Forcing screen to scroll in response to timed events

You know how the screen scrolls automatically whenever you type in a command? What I need to know is if it's possible to make it do that whenever a timer prints a message. I have random 'atmospheric' events that pop up in certain rooms, and the text always gets cut off so that you have to hit a key or manually scroll down to catch up, it's very annoying.


I'm not sure how those apply to what I'm trying to do...but then again I'm barely awake right now so who knows.

And if I have to I guess I can just get rid of the timer and have random text show up in the room for a similar effect, it's just disappointing that it gets made unusable because of such a simple aesthetic thing.

I had recurring problems myself with the text not being scrolled properly. Quite maddening...

You can invoke the internal scroll function by calling:

JS.scrollToEnd()


That calls the same JavaScript function that normal text output calls (which doesn't always work for some reason, but calling it yourself can help).

jaynabonne wrote:
JS.scrollToEnd()



It works! Thank you!

Lots of copying and pasting to do when I get home! :)