memo-padlog

Functions for managing logs, allowing you to add, print, clear logs, and send notifications.

log add(message, color) -> void

Name
Type
Description

message

string

What you want to log

color

color

Optional color for the log

Adds a log.

void print(args) -> void

Does the same thing as log add.

log clear() -> void

Clears all the logs.

log notification(message, type) -> void

Name
Type
Description

message

string

The notification text

type

string

Optional type (info, warning, success)

Example

log.add("message 1", color(1, 1, 0, 1))

print("message 2")

log.notification("message 3", "info")

wait(5000)

log.clear()

Last updated