|show offline managers|
|English, German, Japanese, Russian|
Have a question? Ask at SmartBots DevPortal!
DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!
Starts/stops listening to the group chat. Messages will come to you with SB_CHAT_MESSAGE event.
- Requires group chat monitoring to be enabled on your group
The following table shows input values (you send them with the API call) and returned output values.
llMessageLinked( LINK_SET, SB_CHAT_LISTEN, string str, key id )
|str||yes|| 1 to start listening
0 to stop
This command instructs AdminBot to start listening on the group chat. The group chat messages will be passed to your script using SB_CHAT_MESSAGE event.
After connecting to the group chat script will receive SB_CHAT_SUCCESS event.
There's several conditions which may prevent AdminBot from connecting to the group chat. Your script will receive SB_COMMAND_FAILED event with the following data:
Reason: Your SmartBots subscription does not include Group Chat Control
Solution: enable the Group Chat Control service for the group.
Reason: SL can't provide the HTTP listener for the script
Solution: this can happen for extremely crowded and overloaded sims. The only solution is to move to another sim.
See AdminBot Examples: Group chat listener for simple chat relay.