Sloodle channels
This page is for documenting channels used by Sloodle objects and scripts to communicate with each other and with avatars.
Use the range -1639270000 to -1639280000. Don't use numbers ending in 0.
Each script gets 9 potential addresses. The address ending in 1 addresses the object generally. The other 8 are for specific kinds of message.
Same addresses are used for the channel used in chat and the "num" parameter in linked messages.
Bag your address on this wiki before you start using it in your script.
Contents |
Channels used for talking to Sloodle avatars
| Name | Channel | Objects | Notes |
|---|---|---|---|
| SLOODLE_CHANNEL_AVATAR_SETTING | 1 | lots | - |
| SLOODLE_CHANNEL_AVATAR_DIALOG | 1001 | lots | This is used to prevent confusion with chat messages. |
| SLOODLE_CHANNEL_AVATAR_IGNORE | -1639279999 | For when you want to show a dialog but not trap the resulting "OK". | - |
| SLOODLE_CHANNEL_AVATAR_PROFILE_SAVER_MENU | -1639270023 | Menus shown by profile saver dialog | (no longer used) |
| SLOODLE_CHANNEL_AVATAR_RECYCLE_BIN_MENU | -1639270031 | Confirmation dialog by recycle bin | - |
| SLOODLE_CHANNEL_AVATAR_REZZER | -1639270033 | Confirmation dialog by object rezzer | - |
| SLOODLE_CHANNEL_AVATAR_LAYOUT_MANAGER | -1639270034 | Dialog by layout manager | - |
| SLOODLE_CHANNEL_AVATAR_LAYOUT_MANAGER_MOTHERSHIP_CONTROL | -1639270035 | Dialog by layout manager | - |
| UI_CHANNEL | 89997 | General-purpose UI channel used by awards etc | Used by Fire's stuff - type does in string parameter |
Channels used for talking to Sloodle objects
General
integer SLOODLE_CHANNEL_OBJECT_DIALOG= -3857343; //Object configuration channel
integer SLOODLE_CHANNEL_OBJECT_PROFILE_SAVER_LIST_INVENTORY= -1639270011; //Profile saver; //(no longer used)
integer SLOODLE_CHANNEL_OBJECT_PROFILE_SAVER_DO_SAVE= -1639270012; //Profile saver; //(no longer used)
integer SLOODLE_CHANNEL_OBJECT_LAYOUT= -1639270013; //Internal layout messages, typically for sending 'do:storelayout' chat messages
Vendor
integer SLOODLE_CHANNEL_OBJECT_INVENTORY_VENDOR_LIST_INVENTORY= -1639270021; //Inventory Vendor; //(no longer used)
integer SLOODLE_CHANNEL_OBJECT_INVENTORY_VENDOR_DO_CLEANUP_ALL= -1639270022; //Inventory Vendor; //(no longer used)
Access Checker
integer SLOODLE_CHANNEL_OBJECT_ACCESS_CHECKER_PERMIT= -1639270032; //Access Checker= -
integer SLOODLE_CHANNEL_OBJECT_ACCESS_CHECKER_DENY= -1639270033; //Access Checker Deny; //(Edmund and Fire's classroom)
integer SLOODLE_CHANNEL_OBJECT_LOAD_URL= -1639270041; //Basic URL loading request (note: either for a single URL, or transferring parallelized URL loading to another script)= -
Multiple quiz (pile-on)
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE= -1639270061; //For the multi-user quiz
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE_MY_NUMBER= -1639270062; //For the master quiz prim to tell its linked choice prims what number option they represent.
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE_QUESTION= -1639270063; // For the master quiz prim to tell its linked choice prims what questions they represent.
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE_CORRECT= -1639270064; // For the master quiz prim to tell its linked choice prims that their answer is correct, and what the feedback is.
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE_INCORRECT= -1639270065; // For the master quiz prim to tell its linked choice prims that their answer is incorrect, and what the feedback is.
integer SLOODLE_CHANNEL_QUIZ_MULTIPLE_CHOICE_SELECTED= -1639270066; //For the choice prims to tell the master quiz prim that it has been selected (sat on) and by whom
Quiz
integer SLOODLE_CHANNEL_QUIZ_START_FOR_AVATAR = -1639271102; //Tells us to start a quiz for the avatar, if possible.; Ordinary quiz chair will have a second script that detects and avatar sitting on it and sends it. Awards-integrated version waits for a game ID to be set before doing this.
integer SLOODLE_CHANNEL_QUIZ_STARTED_FOR_AVATAR = -1639271103; //Sent by main quiz script to tell UI scripts that quiz has started for avatar with key
integer SLOODLE_CHANNEL_QUIZ_COMPLETED_FOR_AVATAR = -1639271104; //Sent by main quiz script to tell UI scripts that quiz has finished for avatar with key, with x/y correct in string
integer SLOODLE_CHANNEL_QUESTION_ASKED_AVATAR = -1639271105; //Sent by main quiz script to tell UI scripts that question has been asked to avatar with key. String contains question ID + "|" + question text
integer SLOODLE_CHANNEL_QUESTION_ANSWERED_AVATAR = -1639271106; //Sent by main quiz script to tell UI scripts that question has been answered by avatar with key. String contains selected option ID + "|" + option text + "|"
integer SLOODLE_CHANNEL_QUIZ_LOADING_QUESTION = -1639271107;
integer SLOODLE_CHANNEL_QUIZ_LOADED_QUESTION = -1639271108;
integer SLOODLE_CHANNEL_QUIZ_LOADING_QUIZ = -1639271109;
integer SLOODLE_CHANNEL_QUIZ_LOADED_QUIZ = -1639271110;
integer SLOODLE_CHANNEL_QUIZ_GO_TO_STARTING_POSITION = -1639271111;
integer SLOODLE_CHANNEL_QUIZ_ASK_QUESTION = -1639271112; // Tells the question handler scripts to ask the question with the ID in str to the avatar with key.
integer SLOODLE_CHANNEL_ANSWER_SCORE_FOR_AVATAR = -1639271113; // Tells anyone who might be interested that we scored the answer. Score in string, avatar in key.
Primdrop
integer SLOODLE_CHANNEL_PRIMDROP_INVENTORY= -1639270071; //Allows the PrimDrop to communicate with its inventory management script
Rezzer (set / mothership)
integer SLOODLE_CHANNEL_OBJECT_CREATOR_CONFIGURED= -1639270081; //Object creator telling itself it's configured
integer SLOODLE_CHANNEL_OBJECT_CREATOR_REZZING_STARTED= -1639270082; //Object creator telling itself it's rezzing an object
integer SLOODLE_CHANNEL_OBJECT_CREATOR_AUTOREZ_STARTED= -1639270086; //Object autorezzing to be done.
integer SLOODLE_CHANNEL_OBJECT_CREATOR_AUTOREZ_FINISHED= -1639270087; //Object autorezzing to be done.
integer SLOODLE_CHANNEL_OBJECT_CREATOR_REZ_FROM_POSITION= -1639270088; //Object to be rezzed from this position. Asks object to go to that position so that we can rez the object.
integer SLOODLE_CHANNEL_OBJECT_CREATOR_REZZING_FINISHED= -1639270083; //Object creator telling itself it's finished rezzing an object, and here's it's key
integer SLOODLE_CHANNEL_OBJECT_CREATOR_WILL_REZ_AT_POSITION= -1639270084; //Object creator telling itself it wants to rez an object at a position (specified as key)
integer SLOODLE_CHANNEL_OBJECT_CREATOR_REQUEST_CONFIGURATION_VIA_HTTP_IN_URL = -1639270089; //Object creator telling itself it wants to rez an object at a position (specified as key)
Layouts (mothership)
integer SLOODLE_CHANNEL_OBJECT_CREATOR_LAYOUT_SAVE= -1639270101; //Saving layout. String provides body, need to add entries and send.
integer SLOODLE_CHANNEL_OBJECT_CREATOR_LAYOUT_SAVING_DONE= -1639270102; //Saving layout finished. string provides result.
Set
integer SLOODLE_CHANNEL_SET_CONFIGURED= -1639270091; //Sloodle Set configured
integer SLOODLE_CHANNEL_SET_RESET= -1639270092; //Sloodle Set reset
integer SLOODLE_CHANNEL_SET_GO_HOME= -1639270093; //Sloodle Set go home (for now just used by Mothership Layout Rezzer)
integer SLOODLE_CHANNEL_SET_LAYOUT_REZZER_SHOW_DIALOG= -1639270094; //Set telling layout rezzer to show the user the layout dialog
integer SLOODLE_CHANNEL_SET_LAYOUT_REZZER_PING= -1639270095; //Layout rezzer telling the handler in the set that it's still alive
integer SLOODLE_CHANNEL_SET_SIMPLE_DOOR_OPEN= -1639270101; //Simple set door saying it's open - used for linked messages to tell knob to hide itself
integer SLOODLE_CHANNEL_SET_SIMPLE_DOOR_OPEN= -1639270102; //Simple set door saying it's closed - used for linked messages to tell knob to show itself
integer SLOODLE_CHANNEL_SET_SET_SHARED_MEDIA_URL_OWNER = -1639270111; // set the main shared media panel to the specified URL, accessible to the owner
integer SLOODLE_CHANNEL_SET_SET_SHARED_MEDIA_URL_GROUP = -1639270112; // set the main shared media panel to the specified URL, accessible to the group
integer SLOODLE_CHANNEL_SET_SET_SHARED_MEDIA_URL_ANYONE = -1639270114; // set the main shared media panel to the specified URL, accessible to anyone
Channels used for parallelized URL loading requests
| Name | Channel | Objects | Notes |
|---|---|---|---|
| SLOODLE_CHANNEL_LOAD_URL_0 | -1699000001 | URL loading channel 0 | - |
| SLOODLE_CHANNEL_LOAD_URL_1 | -1699000002 | URL loading channel 1 | - |
| SLOODLE_CHANNEL_LOAD_URL_2 | -1699000003 | URL loading channel 2 | - |
| SLOODLE_CHANNEL_LOAD_URL_3 | -1699000004 | URL loading channel 3 | - |
| SLOODLE_CHANNEL_LOAD_URL_4 | -1699000005 | URL loading channel 4 | - |
| SLOODLE_CHANNEL_LOAD_URL_5 | -1699000006 | URL loading channel 5 | - |
| SLOODLE_CHANNEL_LOAD_URL_6 | -1699000007 | URL loading channel 6 | - |
| SLOODLE_CHANNEL_LOAD_URL_7 | -1699000008 | URL loading channel 7 | - |
| SLOODLE_CHANNEL_LOAD_URL_8 | -1699000009 | URL loading channel 8 | - |
| SLOODLE_CHANNEL_LOAD_URL_9 | -1699000010 | URL loading channel 9 | - |
| This page is part of the SLOODLE documentation | |||
|---|---|---|---|
| Docs: Users | Administrators | Developers | |||
| Wiki Frontpage Sloodle.org | |||