Here's how a token is constructed
/!\ Big endian.
0xff[AA][BB][CC][DD]
AA : Command ID
BB : Argument 1
CC : Argument 2
DD : Argument 3
The command can read its arguments separated or combine them to make bigger values (like 16-bit integers).
0x01 Changes text cursor's color. Further text will be drawn in red.
0x81 Changes textbox's delay between letters.