Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

How to use $PAGETEXT variable

7 years ago
I can use it in the Global Page but how do we use it in individual pages? When I write it on a page, it displays the literal script instead of executing it.

How to use $PAGETEXT variable

7 years ago
AAAAAAAAAAHHHH lol. Drives me insane!

How to use $PAGETEXT variable

7 years ago

Put it in the page script (the := next to the title) instead of on the actual page.

How to use $PAGETEXT variable

7 years ago
OMG THANKS! *Hugs and Kisses*! I never saw it before (mostly because I images off in browser)

How to use $PAGETEXT variable

7 years ago
IF $E > 0 THEN
$PAGETEXT := "Endmaster has my soul!"
ELSE
$PAGETEXT := "Endmaster has my head!"



This is what I enter in the page. How do I make it function? Thanks!

How to use $PAGETEXT variable

7 years ago
Because you write it in the page script, not on the page itself.

You also might need a "then" after your else.

How to use $PAGETEXT variable

7 years ago
Thansk! I couldn't figure how to access the page script. *kirby dance*