Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Periodically say /1 show

Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
05-10-2007 08:18
I sell furniture with poseballs that react on the familiar /1 show and /1 hide chat commands. I prefer to keep it this way and not change channel, because most buyers know this command. Unfortunatley this also means that people can shout /1 hide in my shop, so newbie customers wont see the poseballs anymore.

Shortly I will be going on a rl holiday for some weeks. If I wanted to make a script that periodically would say or shout /1 show, how should I do this? Of course I would place prims with that script in the surroundings of my shop items, so my neighbours objects will not be affected.
Anthony Hocken
Registered User
Join date: 16 Apr 2006
Posts: 121
05-10-2007 08:31
You'd use something like this. This should say "show" on channel 1 every 5 minutes. If you'd rather shout it then replace llSay with llShout.

CODE

default
{
state_entry()
{
llSetTimerEvent(300); // five minutes (5*60)
llOwnerSay("Activated.");
}

timer()
{
llSay(1, "show");
}
}
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-10-2007 08:59
errr, why not just modify the original show hide to only respond to the owner?
_____________________
I'm back......
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
05-10-2007 09:19
Why not just put sit targets in the furniture itself and save some prims?
Paulo Dielli
Symfurny Furniture
Join date: 19 Jan 2007
Posts: 780
05-10-2007 15:00
Wow, three great suggestions and they are all different AND effective. Thanks.

Okay, the reason I sometimes use poseballs instead of sit targets in the furniture itself is because I want angles and degrees perfectly right. I can simply not achieve that in the script only.

Anthony, thanks for this simple solution. Since I am no scripter myself this will help me through my holiday.

Newgate. Your suggestion is to be preferred of course. But the script I got from the Wiki is so difficult that I wouldn't know what commands to use and where.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-10-2007 16:00
From: Paulo Dielli
Wow, three great suggestions and they are all different AND effective. Thanks.

Okay, the reason I sometimes use poseballs instead of sit targets in the furniture itself is because I want angles and degrees perfectly right. I can simply not achieve that in the script only.

Anthony, thanks for this simple solution. Since I am no scripter myself this will help me through my holiday.

Newgate. Your suggestion is to be preferred of course. But the script I got from the Wiki is so difficult that I wouldn't know what commands to use and where.


post it and we can play. Show hide shoudl be very simple to implement.
_____________________
I'm back......