Subj : console.ungetstr command
To : High Spirit
From : echicken
Date : Tue Jan 09 2018 01:54 pm
Re: console.ungetstr command
By: High Spirit to All on Tue Jan 09 2018 12:25:55
> Can someone tell me how this command works? Where do I put the string that I
> want in the buffer?
http://synchro.net/docs/jsobjs.html#console
The console.ungetstr method inserts an arbitrary string into the input buffer
(essentially makes it as if the user typed the string).
console.clear(15);
console.ungetstr('test test test\r\n');
var str = console.getstr();
console.putmsg(str);
console.pause();
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com