These days, we have to resort to bots when we want to send another user a group invitation. This is pretty annoying and uses additional resources while scripted objects are pretty cheap in comparison. I propose:
llInviteToGroup(key target_avatar, string group_role);
group_role can be either the name of the role or its key.
Limitations:
  • The object must be set to the group it should invite others to, so no group name/key needed in the command.
  • The object inviting the avatar must be owned by someone who is a member of the group and has the necessary group role ability to invite others to the selected role.
  • The object must be in the same region as target_avatar.
  • The object can not be an attachment.
  • The object can only send invites inside a touch_* event.
  • The object will sleep 10 seconds after each invitation (optional? not sure if it's needed)