Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Quick one!

The Tracer
Registered User
Join date: 15 Nov 2006
Posts: 48
04-26-2007 19:18
Just need a basic script that will drop a message to an avatar immediately after they have teleported/arrived to the sim. Need it ASAP, Thanks in advance!
_____________________
The SecondLife School of Architecture

TheSLSA.com
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-26-2007 23:58
From: The Tracer
Just need a basic script that will drop a message to an avatar immediately after they have teleported/arrived to the sim. Need it ASAP, Thanks in advance!


If you are not trying to develop this yourself then please try posting in products wanted, this forum is for help in writing scripts not just giving them out.

If however you are trying to write it yourself then here are the basic's of what you need :-

Detection
Some method of detecting the avatar's arrival.
If they can only TP to known coordinates then use a volume detect prim. (LLVolumeDetect)
If they can TP in anywhere then you will need to resort to one or more sensors
(llSensorRepeat). Either method will trigger an event such that you cna obtain their key.

Once you have their key you are then free to send them information in which ever way you choose, llSay , llInstantMessage or llGiveInventory. It will depend upon exactly what you define "drop a message to" as meaning.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
04-28-2007 06:03
*moves*
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey