Yazaemal, The Reader

Member Since

8/23/2021

Last Activity

8/24/2023 4:34 AM

EXP Points

23

Post Count

22

Storygame Count

0

Duel Stats

0 wins / 1 loss

Order

Sage

Commendations

0

Too lazy to enter a profile.

 

 

 

 

Sue me.

 

 

 

 

 

 

 

 

 

 

I am proud of this though: tower badge

Recent Posts

Variable not working in $Pagetext script on 4/14/2022 10:28:35 PM

Can't believe this took me almost a week to figure it out, thanks!


Variable not working in $Pagetext script on 4/14/2022 8:59:41 PM
Oh...right, okay, thanks. So I'm guessing there's no way to actually make $Pagetext say '$ [actual money]'. Ok, thanks for telling me, I guess I learned something today.

Variable not working in $Pagetext script on 4/14/2022 8:58:28 PM
Hmm, I tried, but it just printed $ %%MONEY%%. It's okay, though, since I've decided to just display it on every page regardless of the dollar sign. Thanks for everyone's help.

Variable not working in $Pagetext script on 4/12/2022 8:26:13 PM
The thing is, I made it so the first time you go in a room, it gives you all the info. Then, the next time you enter, it says something else. I did this with $Pagetext (here is the bottom of the script: https://imgur.com/a/rJNSbvr), however the %%MONEY%% literally prints as "%%MONEY%%". What I'm planning to do is to just select the "show on every screen" thing for the variable.

Two questions: 1. Is there a way to put a prefix before the score (such as Money: $[money]) (which is why I used "Money: $%%MONEY%% on every page instead of the show on every screen thing)? 2. Is there a way to add decimals to variables? Because I tried to add, say, a quarter to the total amount, but it doesn't let me add 0.25.

Otherwise, I guess that's it for this thread, thanks for all your help (and mizal).

Variable not working in $Pagetext script on 4/12/2022 7:45:40 PM
Ok, thanks, I've disabled RTE for everything (though now my special characters are a mess...). However, pertaining my original question, the %%MONEY%% thing still doesn't work. Also, I am using the extension, but I'm not sure if the normal box is better. Thanks for you help.

Variable not working in $Pagetext script on 4/12/2022 7:06:02 PM

Do you mean turn it off for the entire storygame, or turn it off for the script?

 

Edit: Also, is it better to use the extension?


Variable not working in $Pagetext script on 4/12/2022 6:39:14 PM

Hmm, ok, I've tried putting %%MONEY%% outside the quotation marks, but that gave me an error. I'm not sure where the RTE special characters thing is, but I'll look in to it further. Maybe I've bitten off more than I could chew for my first storygame.

Well, thanks for your help and stuff. I really like how helpful people are on this site.


Variable not working in $Pagetext script on 4/10/2022 11:09:39 PM

Concerning your previous comment, (as mentioned in my first comment), I have tried %%MONEY%%, among other things. I didn't make the variable always show itself, because then it would be: Money: 1, instead of the Money : $1 that I wanted (if there is a way to make it always have the dollar sign before the value, that would be nice to know).

I've also read the scripting articles, but I'm not quite sure what I'm doing "hilariously wrong." Thanks for you help so far, by the way.


Variable not working in $Pagetext script on 4/10/2022 7:11:45 AM

I'm not sure for the game you mean the link to the reading thing or the editing thing, but anyway.

The imgur link

Storygame link

(Choose the 'Get rich' option, ground floor, south, change mind, then you'll see the problem I was talking about. Also maybe some feedback would be helpful, but I'll understand if there isn't any.)


Variable not working in $Pagetext script on 4/10/2022 6:27:02 AM

So I have this thing where you try to get as much money as possible, and at the bottom of every page I have "Money: $%%MONEY%%'. (I didn't select the show up on every page thing because I wanted the dollar sign; if anyone knows how to have a consistent prefix for the variable, that would also be appreciated.) Now, on this page, if you go somewhere else and come back, I made the page say something else with $PAGETEXT, however, at the very bottom, where I said 'Money: $%MONEY' and previewed it, it just literally said: "Money: $%MONEY". I've also tried %%MONEY%%, %MONEY%, %%MONEY, but it doesn't seem to work.

I would upload a picture, but for some reason it's really hard to do that on this site, so I guess that's that.