Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

i am having difficulty mod'ing visitor counter with a sound (recorded voice greeting)

GoldieFawn Fielding
Registered User
Join date: 16 May 2005
Posts: 114
01-24-2006 09:22
I tried all morning to add play sound or even trigger sound for a visitor counter script. i was useing the free visitor counter script from Sami Tabla (the one that Aaron Linden created). I wanted my recorded voice greetin to activate when an avitar passed by it.

I was tryin to place it after get name. if anyone has ideas or tips, or the script please let me know.

I have seen enough syntax errors for the morning but will go back to tweekin it later today. I need a nap....my head is throbing..

.....for now i put it in a prim with touch sound..and textured it with "DO NOT TOUCH THIS SIGN"......

giggles that will do for now haha..

but i really would like it to work the other way

Thank You in Advance
GoldieFawn Fielding
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
01-24-2006 09:56
It would help if you posted your script :)
GoldieFawn Fielding
Registered User
Join date: 16 May 2005
Posts: 114
hmm
01-24-2006 15:25
at the risk of sounded silly. how do i post the script in the forum?

TY
GoldieFawn
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
01-24-2006 15:38
Open up the script in SL by double-clicking on it
Click in the script window
Ctrl-A to select all the text in the script
Ctrl-C to copy the text of the script
Come to the forum, create a new post
Type [ php ] (remove the spaces between the [ and ] and the word php, I added the spaces in there so you can see what needs to be typed)
Ctrl-V to paste the text of the script
Type [ /php ] (again), without the spaces

That's it.
GoldieFawn Fielding
Registered User
Join date: 16 May 2005
Posts: 114
01-24-2006 16:15
ok i did but it didnt post correctly so i most likely did something wrong on entering it =(
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
01-24-2006 16:19
Well, when you pasted it into the forum window, did it paste the script code or not? If not, you probably didn't copy it.

If the script isn't too long, you could re-type it into the forum too :) Though that's usually not practical.
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
01-25-2006 00:27
example of what u should see in the posting-edit box (I'm using "Guided Mode" here)
From: someone
[QUOTE=Ziggy Puff]It would help if you posted your script :)[/QUOTE]
Ok, Ziggy. Here is my code
[PHP]default
{
state_entry()
{
llOwnerSay("Hello, Avatar";);
}
}[/PHP]
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
01-25-2006 00:29
which would result in:
From: someone
From: Ziggy Puff
It would help if you posted your script :)

Ok, Ziggy. Here is my code
CODE
default
{
state_entry()
{
llOwnerSay("Hello, Avatar");
}
}