229 string location_area =
"";
235 return " [" + location_area +
"]";
247 integer random_value = 0x80000000 | (integer)llFrand(65536) | ((integer)llFrand(65536) << 16);
248 return(random_value);
263 if (
station_base > 0) button_list +=
"<<";
else button_list +=
" ";
266 button_list +=
"DONE";
272 string menu_header =
"Destinations Available from " +
location_name +
"\n";
285 string index_string = (string)(station_pos + 1);
288 menu_header +=
"[" + index_string +
"] " + item_name +
"\n";
291 button_list += index_string;
326 vector location_position = llGetPos();
331 osTeleportAgent(Agent, the_world +
":" + the_region, the_landing, the_look_at);
337 osTeleportAgent(Agent, the_region, the_landing, the_look_at);
341 else if (location_position != the_landing)
343 osTeleportAgent(Agent, the_landing, the_look_at);
370 list destination = llParseString2List(trimmed_line, [
"|"], []);
380 while (++index < list_length);
403 list config_data = llParseString2List(config, [
"\n"], []);
407 integer list_length = llGetListLength(config_data);
408 for (; index < list_length; ++index)
411 string trimmed_line = llStringTrim(llList2String(config_data, index), STRING_TRIM);
417 list key_value = llParseString2List(trimmed_line, [
"="], []);
420 string key_object = llToUpper(llStringTrim(llList2String(key_value, 0), STRING_TRIM));
423 string value_object = llStringTrim(llList2String(key_value, 1), STRING_TRIM);
460 touch_start(integer TotalNumber)
466 key user = llDetectedKey(0);
487 listen(integer Channel,
string Name, key Id,
string Message)
489 integer found_index = -1;
499 if ((Message ==
"DONE") || (Message ==
"OK") || (Message ==
" ") || (Message ==
"Ignore"))
513 else if (Message ==
">>")
527 if (llList2String(
menu_list, index) == Message)
549 changed(integer Change)
552 if (Change == CHANGED_INVENTORY)
integer REGION_FLAG
Number value of REgion Location flag.
integer COMMENT_PREAMBLE_LENGTH
THe number of characters in the comment preamble.
string CONFIG_DESTINATIONS_NAME
The automatically generated list of teleporter destinations.
string location_name
The display name of the current location.
string CONFIG_NOTECARD_NAME
The name of the notecard containing the Teleport's Configuration.
string LOCATION_NAME
THe Key Value for defining hte name of the location in the Config notecard.
integer rdCalcCommsChannel()
find a pseudo random communications channel number
list destination_group
Group to which the Location belongs.
float TIMER_OFF
Settings a Zero Time will turn off the Timer.
list destination_location
integer METAVERSE_FLAG
Number value of Metaverse Location flag.
list destination_region
The list of Teleport region names.
string location_region
Region holding the Teleporter.
float TIME_TO_DECIDE
Time a Menu remains active.
integer station_list_size
The total number of Destinations available.
rdInitialiseTeleporter()
Initialise or re-initialise the Teleporter.
string VERSION_STRING
The Current version of the software.
rdShowStationDialog(key User)
Display the Destination Teelport Menu.
integer WORLD_FLAG
Number value of World Location flag.
list destination_world
The list of Teleport world addresses.
rdReadDestinationList()
Read the list of Teleportation Destinations from the Notecard.
string COMMENT_PREAMBLE
Preamble for a comment line in the configuration file.
list destination_name
The list of Teleport location names.
string rdLocInfo2String(integer LocationInfo, integer Index)
integer LOCAL_FLAG
Number value of Local Location flag.
rdDoTeleport(key Agent, integer Index)
Select the Correct Teleportation Routine.
key last_user
the last user of the teleport menu
string location_world
The Teleporter Location's World.
integer DIALOG_STATION_LIMIT
The hard maximum number of Destinations on any menu page.
list destination_loc_type
The list of location types.
The Default State of the Script.