Built-in Functions

Helpful functions available in every RapidScript program.

RapidScript includes the following built-in functions:

  • void print(string): Adds the given string as a new line to the program's output. Does not return a value.

  • void wait(double): Pauses the program's execution for the given number of seconds. Allows the processor to perform other tasks.

The code snippet below demonstrates the use of these functions.

print("Hello World");

// Wait for a second and a half

print("Done waiting!");

Last updated