SB_CHAT_MUTE

From SmartBots Developers Docs
AdminBot for LSLCommands
Revision as of 13:11, 12 May 2017 by Gg (Talk | contribs) (Gg moved page AdminBot for Groups/Commands/SB CHAT MUTE to AdminBot for LSL/Commands/SB CHAT MUTE)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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).