Sloodle variables

From SLIS Second Life Wiki

Note: the variable names also apply to HTTP parameters sent to Linker Scripts.

Sloodle variables (excluding constants)
meaning notes legacy variable names
sloodleserverroot The Moodle server being used. Should not include trailing / -
sloodlepwd The prim password or object session key used to authenticate an object Currently using pwd everywhere, including server-side prim password checks. pwd
sloodlecourseid The moodle course ID sloodle_courseid courseid
sloodlecontrollerid ID of a particular controller (in Moodle, this will be a course module instance ID) -
sloodleavname Name of the avatar who is performing some action Format: "firstname lastname" -
sloodleuuid UUID of the avatar who is performing some action -
sloodlemoduleid Identifies a course module instance. Note that these are unique across an entire site. Should be an integer -
sloodlerequestdesc An arbitrary string that can be set by a linker script to track what the request is for. Gets returned to the script in the response. Optional -
sloodlerequesttimestamp A timestamp that can be generated by the LSL script to say when the request was made. Gets returned to the script in the response. Optional -
sloodletrackingcode An arbitrary tracking code to be supplied by the LSL script to say when the request was made. Gets returned to the script in the response. Optional -

See the Communicating between server and client page for an explanation of how these variables are handled on and server side, and what will be returned to the LSL script.

Sloodle variables (constants)
meaning notes legacy variable names
SLOODLE_DO_DISPLAY_STATUS Whether text above the object should be used to confirm the URL used by the object, etc. - -
SLOODLE_CONFIG_NOTECARD The name of the object's configuration notecard, eg. sloodle_config . - -
SLOODLE_DEBUG Indicates whether or not Sloodle debug mode is active Boolean type. TRUE if debug mode is active, or FALSE otherwise -
SLOODLE_DEBUG_MODE_PARAM_NAME Gives the name of the request parameter which is used to enable/disable Sloodle debug mode Currently "sloodledebug" -
SLOODLE_EOF Specifies a command that is given by a configuration source to indicate the end of the configuration data Currently "sloodleeof" -
Toolbox
LANGUAGES