Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

readRoomNotice

readRoomNotice(kind, text?, said?): RoomNotice | null

The notice kind with its sentence: said, the room’s own where it gave one, as a kick’s message is, else the game’s own in text, else the engine’s; null for none.

Parameter Type
kind ConnectionNotice | null
text ConnectionText
said? string

RoomNotice | null