<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Channel on StompyMUX Documentation</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/</link><description>Recent content in Channel on StompyMUX Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/index.xml" rel="self" type="application/rss+xml"/><item><title>add_player</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/add-player/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/add-player/</guid><description>&lt;p&gt;Adds a player to this channel and registers a player-local command alias.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:add_player( player, alias, quiet )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;number or Object player&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The player to add.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;string alias&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A player-local alias containing 1–5 printable ASCII characters without
spaces.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;boolean quiet&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;When &lt;code&gt;true&lt;/code&gt;, suppresses the channel-wide join announcement.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;p&gt;Nothing.&lt;/p&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel is stale.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.invalid&lt;/code&gt; if the object reference is invalid or is not a player.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.unavailable&lt;/code&gt; if the player is being destroyed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.arg.invalid&lt;/code&gt; if the alias is invalid or already in use, or if &lt;code&gt;quiet&lt;/code&gt;
is not a boolean.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.internal&lt;/code&gt; if the alias collection cannot be expanded.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;This trusted administrative operation bypasses the channel join lock. The
alias is added to the player&amp;rsquo;s normal channel aliases and can be used for
channel commands. A quiet join still sends the player the normal direct join
and alias confirmations.&lt;/p&gt;</description></item><item><title>boot_player</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/boot-player/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/boot-player/</guid><description>&lt;p&gt;Boots an object from this channel using native alias-removal side effects.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:boot_player( object )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;number or Object object&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A current member of the channel.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;p&gt;Nothing.&lt;/p&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel is stale or the object is not a member.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.invalid&lt;/code&gt; if the object reference is invalid.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;The operation announces a God-administered boot, removes the member&amp;rsquo;s channel
aliases, and preserves the native departure side effects.&lt;/p&gt;</description></item><item><title>emit</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/emit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/emit/</guid><description>&lt;p&gt;Emits an administrative channel message through native delivery, history,
receive-lock, and message-count behavior.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:emit( message [, options] )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;string message&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Valid UTF-8 text without embedded NUL bytes.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;table or nil options&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Optional settings. The exact options table accepts one field:
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Field&lt;/th&gt;
					&lt;th&gt;Type&lt;/th&gt;
					&lt;th&gt;Description&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;no_header&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;boolean&lt;/td&gt;
					&lt;td&gt;Omits the usual &lt;code&gt;[channel]&lt;/code&gt; prefix.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Unknown option fields are rejected.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;p&gt;Nothing.&lt;/p&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.arg.invalid&lt;/code&gt; for invalid UTF-8, embedded NUL bytes, or invalid options.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:emit(&lt;span style="color:#e6db74"&gt;&amp;#34;The scheduled maintenance begins now.&amp;#34;&lt;/span&gt;, { no_header &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;true&lt;/span&gt; })
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../who/"&gt;&lt;code&gt;Channel:who&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>flags</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/flags/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/flags/</guid><description>&lt;p&gt;Creates a typed flag collection for this channel.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;local&lt;/span&gt; flags &lt;span style="color:#f92672"&gt;=&lt;/span&gt; channel:flags()
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ChannelFlags flags&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A live administrative flag collection for the channel.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;The channel must be live. The returned collection becomes stale when the
channel is destroyed.&lt;/p&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../flags/"&gt;&lt;code&gt;mux.comsys.flags&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../../type-channel-flags/"&gt;&lt;code&gt;ChannelFlags&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>max_user_count</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/max-user-count/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/max-user-count/</guid><description>&lt;p&gt;Returns this channel&amp;rsquo;s currently allocated membership capacity.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:max_user_count( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;integer count&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The allocated membership capacity.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../user-count/"&gt;&lt;code&gt;Channel:user_count&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>message_count</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/message-count/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/message-count/</guid><description>&lt;p&gt;Returns this channel&amp;rsquo;s lifetime delivered-message count.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:message_count( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;integer count&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The number of messages delivered through the channel during its lifetime.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>name</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/name/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/name/</guid><description>&lt;p&gt;Returns this channel&amp;rsquo;s exact name.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:name( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;string name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The channel&amp;rsquo;s canonical name.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../../channel/"&gt;&lt;code&gt;mux.comsys.channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>object</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/object/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/object/</guid><description>&lt;p&gt;Returns the object that supplies this channel&amp;rsquo;s description and locks.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:object( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;Object or nil object&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The attached object, or &lt;code&gt;nil&lt;/code&gt; when the channel has no attached object.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.invalid&lt;/code&gt; if the attached object no longer exists.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../set-object/"&gt;&lt;code&gt;Channel:set_object&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>set_object</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/set-object/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/set-object/</guid><description>&lt;p&gt;Attaches or detaches the object supplying this channel&amp;rsquo;s locks and description.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:set_object( object )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;number, Object, or nil object&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A live object to attach. This argument is required; pass &lt;code&gt;nil&lt;/code&gt; explicitly to
detach the current object.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;p&gt;Nothing.&lt;/p&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.arg.invalid&lt;/code&gt; if &lt;code&gt;object&lt;/code&gt; is omitted.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.invalid&lt;/code&gt; if the object reference is invalid.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.object.unavailable&lt;/code&gt; if the object is being destroyed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../object/"&gt;&lt;code&gt;Channel:object&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>user_count</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/user-count/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/user-count/</guid><description>&lt;p&gt;Returns the number of membership records on this channel.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:user_count( )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;integer count&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The number of channel membership records.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="see-also"&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="../../../"&gt;&lt;code&gt;mux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../"&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../who/"&gt;&lt;code&gt;Channel:who&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>who</title><link>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/who/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://stompymux.com/docs/scripting/packages/mux/comsys/type-channel/who/</guid><description>&lt;p&gt;Returns structured channel membership records.&lt;/p&gt;
&lt;h2 id="function"&gt;Function&lt;/h2&gt;
&lt;h3 id="synopsis"&gt;Synopsis&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-lua" data-lang="lua"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;channel:who( options&lt;span style="color:#960050;background-color:#1e0010"&gt;?&lt;/span&gt; )
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="arguments"&gt;Arguments&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;table or nil options&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Optional settings. The exact options table accepts one field:
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Field&lt;/th&gt;
					&lt;th&gt;Type&lt;/th&gt;
					&lt;th&gt;Description&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;all&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;boolean&lt;/td&gt;
					&lt;td&gt;Includes inactive membership records.&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Unknown option fields are rejected.&lt;/p&gt;
&lt;h3 id="returns"&gt;Returns&lt;/h3&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;table members&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;A dense array of records shaped as
&lt;code&gt;{ object = Object, listening = boolean }&lt;/code&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id="raises"&gt;Raises&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;mux.unavailable.checking&lt;/code&gt; during &lt;code&gt;@lua/check&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.channel.invalid&lt;/code&gt; if the channel handle is stale.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mux.arg.invalid&lt;/code&gt; for invalid options.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;Without &lt;code&gt;all&lt;/code&gt;, the native active-member test is applied. Trusted Lua does not
apply actor-relative hidden-member filtering. &lt;code&gt;{ all = true }&lt;/code&gt; corresponds to
&lt;code&gt;@chan/who &amp;lt;name&amp;gt;/all&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>