Skip to content

eventlog

Methods

add(color, text)

Type Name Description Default
number color Log color (list below) none
string text Text to print out none

Adds text to buffer. Color list:

ID Color (r, g, b) Example
1 255, 255, 255 Text
2 255, 0, 0 Text
3 185, 130, 240 Text
4 0, 255, 0 Text
5 190, 255, 140 Text
6 165, 255, 80 Text
7 255, 60, 60 Text
8 200, 200, 200 Text
9 225, 210, 125 Text
10 175, 195, 215 Text
11 95, 150, 216 Text
12 75, 105, 255 Text
13 175, 195, 215 Text
14 210, 40, 230 Text
15 235, 75, 75 Text
16 225, 175, 50 Text
1
eventlog.add(0x01, 'Hello from lua!')

reset()

Clears current buffer

1
eventlog.reset()

output()

Prints current buffer

1
eventlog.output()