Aigre, The Reader
Member Since
4/18/2013
Last Activity
7/3/2013 7:17 PM
EXP Points
Post Count
1
Storygame Count
0
Duel Stats
0
wins
/
0
losses
Order
Commendations
No Profile Entered
Storygames
Choice of Terrorism
unpublished
Test Description
Recent Posts
How do I display variables? on 4/22/2013 11:02:44 PMI've just started, and this is a completely noob question: how do I call or display a variable?
Like if SCORE is 0, and I want to display, SCORE, what do I write on the page?
Do I need to write any code to start and end scripts?
I've read all the help guides, and I've some idea on how to manipulate variables, but I can't seem to get the variables to show up on the page in the first place.
EDIT: ok I've figured out how to display variables by writing %%VARIABLE%%.
Now, how do I manipulate it on the page? can I write %VARIABLE := %Variable +1 ?
EDIT2:
I tried this:
BEGIN
%SCORE = %SCORE + 1
END
SCORE = %%SCORE%%.
it doesn't work
EDIT3: Set everything to advance, found the global scripts page. %VARIABLE and $PAGETEXT is working.