User Modes: Difference between revisions

From HybridIRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<div style="background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); font-family: 'Roboto', sans-serif; margin-top: 20px;">
<div style="background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); font-family: 'Roboto', sans-serif; margin-top: 20px;">


   <h2 style="margin-top: 0;">👤 User Modes</h2>
   <h2 style="margin-top: 0;">👤 Extended Bans</h2>
   <p>You can set user modes on yourself using the /MODE command. These modes only affect the nickname you are currently using and allow you to control your visibility and behavior on the network.</p>
   <p>Extended bans (extbans) are divided into two types:</p>
  <ul>
    <li><strong>Matching extbans:</strong> These match on users in additional ways.</li>
    <li><strong>Acting extbans:</strong> These restrict users in various ways beyond standard bans.</li>
  </ul>
  <p>Some list modes, like channel mode <code>b</code> (ban), typically use a <code>&lt;nick&gt;!&lt;user&gt;@&lt;host&gt;</code> mask. These modes can be extended to support alternate forms of matching and actions.</p>
 
  <p>To use an extban, set <code>+b &lt;ban&gt;</code> or <code>+e &lt;ban&gt;</code> with the extban mask instead of the usual <code>nick!user@host</code> mask to ban or exempt users. Ban exceptions on acting extbans prevent users from matching the extban or corresponding channel mode.</p>
 
  <p>Matching extbans can also be used for invite exceptions by setting <code>+I &lt;extban&gt;</code>.</p>


   <h3>🔧 Usage</h3>
   <h3>🔧 Usage</h3>
   <p><code>MODE &lt;yournick&gt; +|-&lt;modes&gt;</code></p>
   <p><code>MODE &lt;channel&gt; +|-&lt;modes&gt; [&lt;params&gt;]</code></p>


   <div style="text-align: left; background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 15px; margin-top: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);">
   <div style="text-align: left; background: linear-gradient(120deg, #4facfe, #8a2be2); color: white; padding: 15px; margin-top: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);">
     <h3>💬 Examples</h3>
     <h3>💬 Examples</h3>
     <ul style="list-style: none; padding-left: 0; margin: 0;">
     <ul style="list-style: none; padding-left: 0; margin: 0;">
       <li><code>/mode shayne +D</code></li>
       <li><code>+b &lt;ban&gt;</code> or <code>+e &lt;ban&gt;</code></li>
      <li><code>/mode shayne -D</code></li>
     </ul>
     </ul>
   </div>
   </div>
</div>
</div>





Revision as of 21:48, 3 Haziran 2025

👤 Extended Bans

Extended bans (extbans) are divided into two types:

  • Matching extbans: These match on users in additional ways.
  • Acting extbans: These restrict users in various ways beyond standard bans.

Some list modes, like channel mode b (ban), typically use a <nick>!<user>@<host> mask. These modes can be extended to support alternate forms of matching and actions.

To use an extban, set +b <ban> or +e <ban> with the extban mask instead of the usual nick!user@host mask to ban or exempt users. Ban exceptions on acting extbans prevent users from matching the extban or corresponding channel mode.

Matching extbans can also be used for invite exceptions by setting +I <extban>.

🔧 Usage

MODE <channel> +|-<modes> [<params>]

💬 Examples

  • +b <ban> or +e <ban>


Mode Name Character Parameter Syntax Usable By Description
Hide Idle and Signon Time a N/A Users Hides idle and signon time in WHOIS from non-operators.
Block Private Messages c N/A Users Blocks private messages and notices from users who do not share a common channel with you.
Deaf Mode d N/A Users User will not receive any messages or notices from channels they are in.
Server-Side Ignore g N/A Users In combination with /ACCEPT, provides for server-side ignore.
Invisible to /WHO i N/A Users Makes the user invisible to /WHO if the user using /WHO is not in a common channel.
Registered Nickname r N/A Users Marks as having a registered nickname.
Wallops w N/A Users Receives server messages.
Cloaked Hostname x N/A Users Gives a cloaked hostname.
TLS Messages Only z N/A Users Only allows private messages from TLS users.
Bot Mode B N/A Users Marks as a bot.
Privdeaf Mode D N/A Users User will not receive any private messages or notices from users.

Note: This also blocks notices from services (NickServ, ChanServ, etc.). Disable with: /mode yournick -D

Hide Channel List I N/A Users Hides the user's entire channel list in WHOIS from non-server operators.
Disable Redirects L N/A Users Stops redirections done by the redirect module.
Opt-Out History N N/A Users Allows users to opt-out of receiving channel history.
Block Unregistered PMs R N/A Users Blocks private messages from unregistered users.
Strip Formatting in PMs S N/A Users Strips formatting codes out of private messages to the user.

💡 Help & Resources

Need more resources? Check out these links: