Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

VISITOR ANNOUNCMENT SCRIPT want to play list but its not playing!

LillyBeth Filth
Texture Artist
Join date: 23 Apr 2004
Posts: 489
09-05-2006 23:48
It says that it will play them but no clue as to what the key words are

Ive tried play list, list visitors, play, list, and othervariations.

Any help ?

Its REALLY important!

Thanks!




float radius = 20.0; // Change this value to alter the range (in meters) of the visitor detector
float interval = 3; // Change this value to alter the time (in seconds) between sensor sweeps
integer max_visitors = 80; // Change this value to set the maximum length of the visitors list

integer i; // variable used in for loop of sensor event;
integer no_of_vis; // variable used to store current number of visitors
integer give_nc = FALSE; // default setting for Give notecard
integer send_im = FALSE; // default setting for Send IM
integer load_url = FALSE; // default setting for Open Web Page
integer show_popup = FALSE; // default value for Show Pop-Up Dialog
integer CHANNEL; // Channel used for menu listen
integer HANDLE; // Handle used for active listener
integer set_IM_msg = FALSE; // Boolean to determine if IM message content is currently being set
integer set_popup = FALSE; // Boolean used to determine if Pop-Up message is currently being set
integer set_url = FALSE; // Boolean used to determine if URL is currently being set
string im_msg; // Variable used to store custom IM message
string popup_msg; // Variable used to store custom Pop-Up message
string url; // Variable used to store URL
list visitors; // List of visitors so far (resets to empty when list reaches [max_visitors] in length

///////////////////
// FUNCTIONS //
///////////////////


THE REST HAS BEEN REMOVED AS ITS NOT MY CREATION


:)
_____________________


TRU Graphic Solutions Ltd
In Association with:
3DTotal.com - SubdimensionStudios.com - AmbientLight.co.uk - Jaguarwoman.com -Texturama.com - Fifond.com - 3DRender.co.uk

Over 80 SL freelance texture artist supplying Premium seamless textures to SL Since 2004

Visit TRU Website:
http://www.texturesrus.net
Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
09-06-2006 01:39
Without seeing the functions I havent a clue - nothing in the above suggests a prompt to me

try adding the following

1st a sub routine ( below variable and above default )

CODE

CD_show_list()
{
integer idx;
llWhisper( 0,"Visitor List follows :" );
for (idx=0;idx<llGetListLength( visitors ) ;idx++ ) // not sure why no_of_vis is used..
{
llWhisper ( (string)idx + ") " + llList2String( visitors, idx ));
}
llWhisper( 0,""End of list" );
}



then add a little bit in the listen section

CODE

if ( llToLower( message ) == "list" )
{
CD_show_list();
return;
}


It probably has something similar in there already.
_____________________
Maker of quality Gadgets
Caligari Designs Store