benilla-re systems structs docs

Script::JoinChannelByName

function · ui · primitive

Address
0x49ff00 · 254 bytes, up to 0x49fffd
Signature
int __fastcall (lua_State *L)
Meaning
Joins a channel by name: returns its ChatChannels id and shortcut, or 0 and nil, and sends the join
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/channelverbs#joinchannelbyname

Finding: JoinChannelByName in ui: joining and leaving channels

JoinChannelByName(name, password, frameId) needs a string or number name (anything else raises Usage: JoinChannelByName("name")). A name with a space returns no values and sends nothing. The password is optional and becomes "" when absent or not a string; frameId is optional and is the 1-based chat window (a value outside 1 to 10 only skips the window registration). The verb returns two values: the ChatChannels id (a number) and the row's shortcut when the name is a shortcut, and the number 0 and nil for any other channel. It returns no values when a shortcut matches while the zone text is nil or empty. It sends the join.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 11

Calls and jumps by a bare address, from tables/calls.tsv.