7 lines
161 B
GDScript

extends RichTextLabel
func _ready():
owner.message_received.connect(on_message_received)
func on_message_received(bbcode: String):
append_text(bbcode + "\n")