• Replaceable Peram

    From DesotoFireflite@VERT/VALHALLA to All on Fri Oct 23 15:16:03 2015
    How do you go about using the @ replaceable perameters in a js file. I tried toãadd time left to the chat module, and all it did was print TIMELEFT instead ofãputting the actual time left. Can it be done as part of the prompt, or am Iãtrying to invent the wheel again. As always, Thanks.ããC.G. LearnãValhalla Home Services! - Telnet://valhalla.synchro.netãA Gamers Paradise - Over 100 Registered Online Game Doors!ãã--- CAT (n.), Furry keyboard cover.ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From echicken@VERT/ECBBS to DesotoFireflite on Fri Oct 23 16:29:20 2015
    Re: Replaceable Peramã By: DesotoFireflite to All on Fri Oct 23 2015 15:16:03ãã De> How do you go about using the @ replaceable perameters in a js file. Iã De> tried to add time left to the chat module, and all it did was printã De> TIMELEFT instead of putting the actual time left. Can it be done as partã De> of the prompt, or am I trying to invent the wheel again. As always,ããThey should work when outputted through console.putmsg, eg:ããconsole.putmsg("Time left: @TIMELEFT@");ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From echicken@VERT/ECBBS to DesotoFireflite on Fri Oct 23 16:30:19 2015
    Re: Replaceable Peramã By: echicken to DesotoFireflite on Fri Oct 23 2015 16:29:20ãã ec> They should work when outputted through console.putmsg, eg:ã ec> console.putmsg("Time left: @TIMELEFT@");ããHeh, of course that won't really show up the way I intended, but you get theãidea.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
  • From Nightfox@VERT/DIGDIST to DesotoFireflite on Fri Oct 23 13:18:55 2015
    How do you go about using the @ replaceable perameters in a js file. I ãtriedã > to add time left to the chat module, and all it did was print TIMELEFTã > instead of putting the actual time left. Can it be done as part of theã > prompt, or am I trying to invent the wheel again. As always, Thanks.ããThe console.putmsg() function should do what you want. console.putmsg() willãinterpret @-codes, etc. as it displays the text you give it. For parameters,ãit takes a text string and an optional mode bits parameter.ããhttp://www.synchro.net/docs/jsobjs.html#consoleããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From DesotoFireflite@VERT/VALHALLA to echicken on Fri Oct 23 17:19:40 2015
    Re: Replaceable Peramã By: echicken to DesotoFireflite on Fri Oct 23 2015 04:29 pmãã ec> They should work when outputted through console.putmsg, eg:ãã ec> console.putmsg("Time left: @TIMELEFT@");ããOk, I'll try that, Thanks EC. ããC.G. LearnãValhalla Home Services! - Telnet://valhalla.synchro.netãA Gamers Paradise - Over 100 Registered Online Game Doors!ãã--- SENILE.COM found...Out of Memory...ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã
  • From DesotoFireflite@VERT/VALHALLA to Nightfox on Fri Oct 23 17:24:56 2015
    Re: Replaceable Peramã By: Nightfox to DesotoFireflite on Fri Oct 23 2015 01:18 pmãã Ni> The console.putmsg() function should do what you want. console.putmsg()ã Ni> will interpret @-codes, etc. as it displays the text you give it. Forã Ni> parameters, it takes a text string and an optional mode bits parameter.ãã Ni> http://www.synchro.net/docs/jsobjs.html#consoleããI scanned that, but I didn't see it, but to be fair, I was looking for more ofãa print command like baja. Ok, thanks.ããC.G. LearnãValhalla Home Services! - Telnet://valhalla.synchro.netãA Gamers Paradise - Over 100 Registered Online Game Doors!ãã--- Old farts never die! They just smell that way...ã þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.netã