Bubbolscript Documentation

Print and Var

1. Print

Printing can be used to output strings, integers and variables

When used to output variables, it will output the value of the variable

Here is an example of Print being used:

print

Hello World

Output:

Hello World

2. Var

Variables are used to store strings and integers to be used anywhere in a script

Variables are very useful for storing information such as how many coins a user has

You can make a variable by putting "var [variable name] [value]" into a script

Here is an example of a variable being made and printed:

var

score 5

print

score

output:

5