Strange button woes-- using [ and ] in dialogue? [SOLVED]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Keryee
Regular
Posts: 25
Joined: Wed Jun 03, 2015 12:14 pm
Location: Hong Kong
Contact:

Strange button woes-- using [ and ] in dialogue? [SOLVED]

#1 Post by Keryee »

This is probably an incredibly stupid question, so I'm really sorry! But... how exactly does one go about convincing ren'py to read square brackets as dialogue?

For example, the piece of code below would create an error:

Code: Select all

    m "Hello!"
    m "These are [SQUARE BRACKETS] that I don't know how to use!"
Is there some way to use square brackets without having them attempt to fulfil whatever coding purpose they already have? Or is it best to just give up on my poor [SQUARE BRACKETS]?
Last edited by Keryee on Sat Feb 06, 2016 7:56 pm, edited 1 time in total.

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Strange button woes-- using [ and ] in dialogue?

#2 Post by Alex »


User avatar
Keryee
Regular
Posts: 25
Joined: Wed Jun 03, 2015 12:14 pm
Location: Hong Kong
Contact:

Re: Strange button woes-- using [ and ] in dialogue?

#3 Post by Keryee »

Ah! Thank you very much. I really appreciate it!

Post Reply

Who is online

Users browsing this forum: Bing [Bot]