Hello,
I want to send on touch a group invite and a message for everyone who is not already in the group.
Here is how I tested this:
default {
touch_start(integer total_number) {
string params = llDumpList2String([
"action=" + "invite",
"apikey=" + llEscapeURL("1234567890abcdef1234567890abcdef12"), //developers API key
"secret=" + llEscapeURL("MySecureCode"), // Invite Bot's security code
"group=" + llEscapeURL("my group"), // Group name
"slkey=" + sID, // Avi key to send the invite to
//"force=" + "1", // Invite group members too
"message=" + llEscapeURL("join me")], // Send a greeting IM
"&");
llHTTPRequest("https://api.mysmartbots.com/api/simple.html",[HTTP_METHOD,"POST",HTTP_VERBOSE_THROTTLE,FALSE],sParams);
}
}
When someone touches who is already in that group, they do not get a new invite, but still get the message, which seems like spam.
I also tried with “force=0” same result.
Thanks for your help.