• console.ungetstr command

    From High Spirit@VERT/DCBBS to All on Tue Jan 9 12:25:55 2018
    Can someone tell me how this command works? Where do I put the string that Iãwant in the buffer?ããThanks! :)ãã-- High Spirit Digital Realms Main - connect.digitalrealms.net 23ã Digital Realms C=64 - connect.digitalrealms.net 6400ãã---ã þ Synchronet þ Digital Realms BBS - connect.digitalrealms.net:23ã
  • From echicken@VERT/ECBBS to High Spirit on Tue Jan 9 13:54:35 2018
    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ã
  • From High Spirit@VERT/DCBBS to echicken on Tue Jan 9 14:32:24 2018
    Re: RE: console.ungetstr commandã By: echicken to High Spirit on Tue Jan 09 2018 01:54 pmãã is> console.ungetstr('test test test\r\n');ããWell sh*t... I swear I tried that and it threw me an error... ãã-- High Spirit Digital Realms Main - connect.digitalrealms.net 23ã Digital Realms C=64 - connect.digitalrealms.net 6400ãã---ã þ Synchronet þ Digital Realms BBS - connect.digitalrealms.net:23ã
  • From Nightfox@VERT/DIGDIST to High Spirit on Tue Jan 9 12:36:18 2018
    Re: console.ungetstr commandã By: High Spirit to All on Tue Jan 09 2018 12:25 pmãã HS> Can someone tell me how this command works? Where do I put the string thatã HS> I want in the buffer?ããFrom what I remember, you can pass a string to console.ungetstr and the nextãtime you input a string from the user (using a console.get function), theãstring you passed to ungetstr will be part of the string you input from theãuser next time.ããOddly, the Synchronet JavaScript Object Model documentation currently does notãshow that console.ungetstr() takes any parameters.. I have always passed aãstring to it, and I don't remember where I learned to do that.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã