group |
---|
Basics |
This article explains how to display (print) text to the user.
To print text, just add it to your block:
start
Welcome to my first story!
Using this method will wait for the user to press Enter before executing the next command. For example, in
start
Welcome to my first story!
Do you like it?
the user will have to press Enter after seeing Welcome to my first story!
to view the next line.
There is a simple way to print the text without waiting for Enter, which is by using the @nowait
command. Just type @nowait
before your text to make sure that it instantly prints.
start
On this line, the user has to press Enter to go to the next line.
@nowait This line will print and skip the Enter key.
A good thing to use with @nowait
is @wait
, which waits for the specified amount of seconds. You write it like this: @wait {time}
.
time
can be a whole number from 1 to 10, or a decimal number from 0.1
to 9.9
with one decimal digit.
start
On this line, the user has to press Enter to go to the next line.
@nowait This line will print and skip the Enter key.
@wait 2
@nowait This line will print and skip the Enter key after 2 seconds.
@wait 1
@nowait This line will print and skip the Enter key after 1 second.
@wait 5.7
@nowait This line will print and skip the Enter key after 5.7 seconds.