set Chat
fun setChat(colour: Int, effects: Int, modicon: Int, autotyper: Boolean, text: String, pattern: ByteArray?)
Sets the public chat of this avatar.
Colour table:
| Id | Prefix | Hex Value |
|-------|-----------|:--------------------------:|
| 0 | yellow: | 0xFFFF00 |
| 1 | red: | 0xFF0000 |
| 2 | green: | 0x00FF00 |
| 3 | cyan: | 0x00FFFF |
| 4 | purple: | 0xFF00FF |
| 5 | white: | 0xFFFFFF |
| 6 | flash1: | 0xFF0000/0xFFFF00 |
| 7 | flash2: | 0x0000FF/0x00FFFF |
| 8 | flash3: | 0x00B000/0x80FF80 |
| 9 | glow1: | 0xFF0000-0xFFFF00-0x00FFFF |
| 10 | glow2: | 0xFF0000-0x00FF00-0x0000FF |
| 11 | glow3: | 0xFFFFFF-0x00FF00-0x00FFFF |
| 12 | rainbow: | N/A |
| 13-20 | pattern*: | N/A |Content copied to clipboard
Effects table:
| Id | Prefix |
|----|---------|
| 1 | wave: |
| 2 | wave2: |
| 3 | shake: |
| 4 | scroll: |
| 5 | slide: |Content copied to clipboard
Parameters
colour
the colour id to render (see above)
effects
the effects to apply to the text (see above)
modicon
the index of the sprite in the modicons group to render before the name
autotyper
whether the avatar is using built-in autotyper
text
the text to render overhead and in chat
pattern
the pattern description if the user is using the pattern colour type