Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

What Am I Doing Wrong?

7 years ago

Thanks in advance.

Let's sat I have a variable. It's called NAME. When NAME's variable is set at 1, I'd like for it to display an intended text on the page using %%NAME%%. Let's say I wished for it to say, for example, TEXT.

Now, the obvious solution is using %%NAME%=%1%Text%% since that's what the guides say. Nonetheless, I am receiving a Did not recognize '%%' message. Take off a %, then I receive Did not recognize '%='. No matter what I take off or add, the script either does nothing (causing %%NAME%% to be stuck at 1) or displays an error message. Also, I do have the scripts and items turned on with the variable mad.

What simple thing am I missing here?

What Am I Doing Wrong?

7 years ago
Just guessing, but it sounds like you are putting the on-page code in a page or link script box.

If so, that's causing your problem. You need to put the on-page code right on your page (right where you actually write your story).

What Am I Doing Wrong?

7 years ago
Yeah that sounds like it.

What Am I Doing Wrong?

7 years ago

Yes, that seems to work. Thank you for pointing out my rather stupid error. :)