Difference between revisions of "AdminBot for LSL/Commands/SB CHAT MUTE"
From SmartBots Developers Docs
m (Gg moved page AdminBot for Groups/Commands/SB CHAT MUTE to AdminBot for LSL/Commands/SB CHAT MUTE) |
|
(No difference)
|
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).