Source: site.view [edit]
Function name: groupInvite
Arguments: groupName,numUses
Description: The invite command will generate a signup invitation that can be given to a prospective WubHub member. The same invitation ID can be used numUses times before it expires.
Page type: webl
Render function:  
Module: site

Page source:

numUses = (ToInt(numUses) ? 0);

if (numUses > 0) then
   Wub_GenerateInviteId("groupinvitemsg", groupName, wubinfo, numUses)
else
   "Error: numUses argument must contain an integer from 1-10"
end;