• bbs.replace_text

    From Mindless Automaton@VERT/ELDRITCH to DOVE-Net.Programming_(Javascript) on Fri Jul 16 06:05:53 2010
    What is the correct syntax for replacing an entry of text.dat that has multiple lines?

    I tried bbs.replace_text (666, "Oooga" \ "Booga" \ "Boo!\r\n: ")

    But I get a syntax error.

    Thanks!

    Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Mon Jul 19 16:41:56 2010
    Mindless Automaton wrote:
    What is the correct syntax for replacing an entry of text.dat that has multiple lines?

    I tried bbs.replace_text (666, "Oooga" \ "Booga" \ "Boo!\r\n: ")

    But I get a syntax error.

    Thanks!

    Mindless Automaton

    Also a typo in text.dat:

    "Save/Append messsage to another file" 057 SaveMsgToFile


    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Digital Man@VERT to Mindless Automaton on Mon Jul 19 23:44:03 2010
    Re: bbs.replace_text
    By: Mindless Automaton to DOVE-Net.Programming_(Javascript) on Thu Jul 15 2010 11:05 pm

    What is the correct syntax for replacing an entry of text.dat that has multiple lines?

    I tried bbs.replace_text (666, "Oooga" \ "Booga" \ "Boo!\r\n: ")

    But I get a syntax error.

    Just: bbs.replace_test(666, "Oooga Booga Boo!\r\n:");

    You can insert more "\r\n" pairs in there if you want it to display across multiple lines.

    digital man

    Snapple "Real Fact" #55:
    A human brain weighs about 3lbs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mindless Automaton on Mon Jul 19 23:44:13 2010
    Re: Re: bbs.replace_text
    By: Mindless Automaton to Mindless Automaton on Mon Jul 19 2010 09:41 am

    Mindless Automaton wrote:
    What is the correct syntax for replacing an entry of text.dat that has multiple lines?

    I tried bbs.replace_text (666, "Oooga" \ "Booga" \ "Boo!\r\n: ")

    But I get a syntax error.

    Thanks!

    Mindless Automaton

    Also a typo in text.dat:

    "Save/Append messsage to another file" 057 SaveMsgToFile

    Thanks.

    digital man

    Snapple "Real Fact" #14:
    Camel's milk does not curdle.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net