✴ HOW TO: Show character points WITHOUT if/elif/else - the simpliest method 😍

full credit for discovering this method goes to @athoynilima!!! :heart_eyes: :heart_eyes: :heart_eyes: :heart_eyes:
I’m just making a tutorial for it. :smiley:

So you probably know the method of showing points by using if/elif/else.
But there is a much easier method which will be handy especially if you have a lot of points reader can gain.

So let’s say you have points named LOVE and the reader can have anything between 1-50 points .

So first you have to discover the CHARACTER NUMBER.

This is a number under which the script reads your character.

To find it add to your script if with the character you use for points example:

if (LOVE =1) {

And preview your script.
After the script will read the if with the “point” character you will see a number under the preview window


And this is the number which the script uses to identify your character = CHARACTER NUMBER

Another even easier way how to find the CHARACTER NUMBER which was discovered by @JemU776:

Go to characters - you can find the number here:

So once you have the CHARACTER NUMBER just copy this specific number and write it in your script in square brackets like this:

You have [6599706280132608] LOVE points.

And that’s it. :slight_smile:
It will automatically show the number of points the reader has.

You can delete the if from your script if you have used this method - we have used it only to find the character number.

Note: in case you haven’t used the CHARACTER NAME in the chapter it will in the portal preview show the CHARACTER NUMBER. Ditto even if you have the CHARACTER NAME in the episode, your portal preview will show only the number of points you have gained by previewing of this episode (not the whole story) - because as you know portal doesn’t remember choices from previous chapters. But it will work in the app. So test it there in case of doubts. :smiley:


In 1 chapter if the reader will not pick up any choice with points it might happen he will see the character number instead.

To avoid this add on the start of the story your character (for point system +0).
@hismoonrose +0

this way the script will recognize the character being in the story and it will not influence the number of points the reader has.


We really need to throw a party on it!! :smile:


you are genius. :smiley:

That’s so handy! :scream:

1 Like

this is awesome omgg!!:heart_eyes:

1 Like

This is great! Thank you!

1 Like

Girl, this is amazing! Huge thanks!!! :heart_eyes:
(Do I need to credit to use it in my script?)

1 Like

No crediting for me as said I havent even found it. @athoynilima do you want to be credited?

1 Like

Totally Up to You! :wink:

1 Like

Of course! This saved my life ahah! I was too lazy to do the if/elif way … :sweat_smile:
Thank you :kissing_heart:

BLESS YOU :star_struck:

OH MY :sneezing_face::sneezing_face::sneezing_face:

YESS THANK YOU :heart_eyes::sob:
so much easier.

does this also show much the reader has along with the total number of points or no?

it will show only how much he gained.

You still need to ad the total in the text


want to add on:

You can find the number here in the url instead of coding it :blob_sun:


great I will add it up in the tutorial!


Thank you so much!! :heart:

WOwo… thank you for this new discover, one question. Let’s say if the story alrady have if/elif/else and want to do this mathod. It will work?

yes every if/elif else works separatly so if you have n chapters 1-30 if/elif just leave it and from 31 you can start to use this.

Just remember it shows gained points not the total. So if you show also the total number jou have to add it manually in the narrator.