Difference between revisions of "AdminBot for LSL/Commands/SB CHAT MUTE"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE: SB_CHAT_MUTE}} <onlyinclude>Mutes chat for a specific group member.</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|SB_CHAT_MUTE}} {{API Varia...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<onlyinclude>Mutes chat for a specific group member.</onlyinclude>
 
<onlyinclude>Mutes chat for a specific group member.</onlyinclude>
  
{{API Variables Table}}
+
{{AdminBot Variables Table|command=SB_CHAT_MUTE}}
  
 
{{AdminBot Required Vars|SB_CHAT_MUTE}}
 
{{AdminBot Required Vars|SB_CHAT_MUTE}}

Latest revision as of 13:11, 12 May 2017

Mutes chat for a specific group member.

// Command usage:
llMessageLinked(LINK_SET, SB_CHAT_MUTE, string str, key id);


API parameters

llMessageLinked function accepts str and id parameters. Their meaning for SB_CHAT_MUTE is explained below:

Variable Required Description.


str yes --
id yes avatar UUID

Example

The following code mutes Glaznah Gassner in your group chat. Yikes.

llMessageLinked(LINK_SET, SB_CHAT_MUTE, "", "cd93067e-7c4e-41c0-ba91-be01f4bafe35");

(Don't forget to include AdminBot headers to your code. Check examples for details).