Subj : Write
To : DesotoFireflite
From : Nightfox
Date : Sat Mar 26 2022 05:34 pm
Re: Write
By: DesotoFireflite to Nightfox on Sat Mar 26 2022 05:37 pm
De>>> Is there a way to use the "write" command in js without it using a
De>>> pause. All I want to do is display a one line comment momentarly
De>>> without the user having to hit enter. Thanks in advance.
Ni>> If you want to have it wait momentarily without user input, you can
Ni>> call mswait and give it a number of milliseconds to pause.
De> so just adding the mswait command with the milliseconds will suppress the
De> pause prompt. I'll give it a shot. I've only used mswait one other time,
De> so I wasn't aware. Thanks
mswait() won't suppress any pause prompts; mswait() simply delays for a moment and then lets the script continue on.
I might be a little confused. What pause are you seeing that you need to suppress?
I've used write() before and hadn't necessarily seen it cause any pause prompts where the user had to input anything. If you're seeing such a pause prompt, I'm wondering if it might be because it's automatically pausing for input after a screenful of information, perhaps?
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com