* @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
*
* @contributor Edmund Edgar
* @contributor Peter R. Bloomfield
*
*/
// This script should only be accessed by a browser (a script linker version can be found at "sl_send_object_linker.php")
// The following parameters are optional, but are typically provided by this script submitting a form to itself:
//
// cmd = indicates what action should be carried out (can be 'sendobject' to send an object, or ommitted completely to select the users)
// fname = first name of the avatar to whom to send an object (required if 'lname' is specified)
// lname = last name of the avatar to whom to send an object (required if 'fname' is specified)
// uuid = UUID of an avatar to whom to send an object
// object = name of the object to send (required if 'cmd' is 'sendobject')
//
$sendToArbitraryAvatars = false; // set this to true to make it possible to enter an avatar name for someone not already registered on the site. This needs a way of getting the UUID for the avatar name - I've implemented this with a web service at webservices.socialminds.jp using LibSL, but I can't guarantee this will be running and available, so for now it's turned off and you can only send objects to avatars already registered in the system.