Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Quotation Marks in Script

7 years ago
When trying to do things like...

IF %GREED = 1
THEN $PAGETEXT := "What? You got your own things... but here. Take this pouch as a little extra something, greedy world out there..."

How do I add the Quotation Marks in the actual text?

Also what was the Script for having page text AND extra text showing?
$PAGETEXT := $PAGETEXT AND "Blablabla" ?

Thanks a heap for any replies.

___________EDIT______________

So... what I got for now is:

IF %GREED = 1
THEN $PAGETEXT := $PAGETEXT + "|Speech|"

IF %GREED = 2
THEN $PAGETEXT := $PAGETEXT + "|Speech|" + "Text" + "|Speech| Text"


I am using | as a placeholder for quotation marks, going to go test this now. But my original question stands!


___________EDIT2_____________

My script isn't working, could use some help with forming it properly.
But just knowing how to get quotation marks would still be great.

Quotation Marks in Script

7 years ago
Use the ascii code for it I believe. Google should be able to tell you what it is.

Quotation Marks in Script

7 years ago

Quotation Marks in Script

7 years ago
Or use single quotes. That works.

Quotation Marks in Script

7 years ago

I'll usually use on page variable text instead if I'm doing anything finicky, it seems a lot more flexible.