I am messing around with the login.js and if I add console.clear() after console.print("\r\nNN:\b\b\bLogin: \1w"); I get a [Hit a Key] pause prompt before it clears.
Is it possible to prevent the pause here? I dont seem to get a pause
when I use console.clear() in other scripts.
MA> Is it possible to prevent the pause here? I dont seem to get a pause
MA> when I use console.clear() in other scripts.
If you remove the console.clear() statement, is there still a pause before the
next bit of output appears in the terminal?
You could try adding a 'console.line_counter = 0;' and/or a 'console.clear();'
to the top of the script to see if that makes it go away.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 19:08:22 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
547 files (254M bytes) |
| Messages: | 70,845 |
| Posted today: | 26 |