Non-threaded

Forums » Feature Wishing Well » Read Thread

Suggestions for improvements and additions to the site.
This feature was rejected 5/29/2014: This is very doable already. Just break up your pagetext like Killa said. You can add more text after the variable too.

This

11 years ago

Make $PAGETEXT able to do something like this...

$PAGETEXT := "Your points increase by %POINTS".

The only other option is to put %%POINTS%% on the actual page, but I only want %POINTS to show up when another variable is a certain number, and it would work wonders if the above script can actually work. 

This

11 years ago

You can add something to the front or end of $PAGETEXT.

End:
$PAGETEXT := $PAGETEXT + "Your points increase by %POINTS"

Front:
$PAGETEXT := "Your points increase by %POINTS" + $PAGETEXT

 

This

11 years ago

I know you can add text before or after $PAGETEXT. I mean, that, if for example, I want the text to say this.

$PAGETEXT := $PAGETEXT + "Your points increase by %POINTS" ONLY when %VARIABLE = 1.

In this case, I cannot put %%POINTS%% on the actual page, and %POINTS doesn't work in $PAGETEXT.