Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

[Answered] Using < or > in text restrictions

16 years ago

How do you put in text that appears only when you have a specific amount of a variable? Ex:

______________________________________________________________________________________________
________________________________________The_Street______________________________________________

You are walking down the street.

{If LUCK is 8 or above: You look down, and spy 10 dollars on the ground! Wonder who put that there...}

   LINK: Continue down the street
   LINK (RESTRICTION LUCK BELOW 8): Take the money, while nobody's looking!

Isn't it something like %%LUCK=8%You look down and spy 10 dollars on the ground! Wonder who put that there...%%

?

[Answered] Using < or > in text restrictions

16 years ago
%%LUCK%>%8%You found 10 dollars%%

and for the link restriction, make a new link, click the RESTRICTIONS icon, and go under variables, and select the luck variable, select the ">" greater than and put in the input box "8".

[Answered] Using < or > in text restrictions

16 years ago

Thanks...
But I didn't see you logged on 15 minutes ago... strange