//Simple Group Invitation request
//using llInstantMessage..
//Pls do not SELL this Script !
//It's open source !
//Changes should be made.
///////////////////////////////// Kalaschnikoff Zenovka (c)
default //Start the Script
{
state_entry() //When it started
{
llSetText("Touch for Group Invitation",<1,1,1>,1); //Set the Text over the Prim.
}
on_rez(integer sp) //When Objects rezzed from Inventory..
{
llResetScript(); //Reset the Script to Show the Text!
}
touch_start (integer nd) //If someone touches the Object..
{
llInstantMessage(llGetOwner(),llKey2Name(llDetectedKey(0)) + " wants a Group Invitation !"); //Send a request to the Owner with name of person who wants to join !
llSay(0,"Thanks, " + llKey2Name(llDetectedKey(0)) + ". You will get an Invitation soon!"); //Just thanks the person for the request.
}
}