Script::JoinChannelByName
function · ui · primitive
- Address
0x49ff00· 254 bytes, up to0x49fffd- 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
- __ftol crt
- JoinChannel ui
- SStrChr storm
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.