Non-threaded

Forums » Feature Wishing Well » Read Thread

Suggestions for improvements and additions to the site.
This feature was rejected 12/26/2005: see comments

*S# Scripting Boxes

19 years ago

It would be nice to have a *S# situation for adding conditional text along with just putting in conditional text.  Here is my idea:

Put in *S#  (# is any number)

On a page accessable from all Page Editors you should be able to say:

*S1 is:  Conditional Text Case (Var1 is above 10)  - You Won The Duel
              Conditional Text Case (Var1 is below 5) - You Lost The Duel
              Conditional Text Case (Var1 is between 5,10) - The Duel Was A Draw
              Delete Empty Lines in *S1

*S2 is:  Put Text{Var1 is }Show Varible: Var1

Each *S# is a box itself.
Delete Empty Lines in *S1 would delete line 1 and 3 if nothing was on them but an enter or a space.
Show Varible: Var1 would make it so that when you put in *S2 as text it shows the number at the end.
Put Text{blah} would just show blah where *S2 is.
Conditional Text - would show the text on that line only if it is on.
One line would be infinite spaces long in the boxes and don't twist words around.

Here is what a page would look like  for the page editor:

*S1

*S2

Here is what a page would look like for the player.

The duel was a draw!

Var1 is 8

If you have any questions feel free to ask.

*S# Scripting Boxes

19 years ago
I kinda get it... sounds pretty neat..

*S# Scripting Boxes

19 years ago
I dont get it.

*S# Scripting Boxes

19 years ago

I think I understand what you're saying. However, this is one of those cases where we just need to train users on how to use conditional text, because this introduces a newer way of doing the same thing. The new version will be easierr than the %%%% stuff:

[conditional="VAR1>10"]You Won the Duel[/conditional][conditional="VAR2<5"]You lost the duel[/conditional][conditional="VAR1<=10 OR VAR1>=5"]Duel wasa Draw[/conditional]

[value="VAR1"]

See, that's a bit easier to do and would do the same thing. One thing I plan on also doing is having pop-up boxes on the text editor that will help build these expressions.

*S# Scripting Boxes

19 years ago
Mabey you could build a help article for that.

*S# Scripting Boxes

19 years ago
thats what I said.