SB_CHAT_MUTE

From SmartBots Developers Docs
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).