diff options
author | Jeff Ames | 2008-01-26 10:34:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-26 10:34:49 +0000 |
commit | 20215c3d30fb55bf232bff1b3d6652d82e00b798 (patch) | |
tree | 19fce94014cafb1a235b3874b7bde8bc92767415 /bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl | |
parent | Removed ScriptServer.csproj from svn. (diff) | |
download | opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.zip opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.gz opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.bz2 opensim-SC-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.xz |
Rewrote svn properties handling script in python. Added more file types.
Diffstat (limited to '')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl b/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl index b4ab532..47e9588 100644 --- a/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl +++ b/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl | |||
@@ -1,20 +1,20 @@ | |||
1 | default | 1 | default |
2 | { | 2 | { |
3 | state_entry() | 3 | state_entry() |
4 | { | 4 | { |
5 | // set sit target, otherwise this will not work | 5 | // set sit target, otherwise this will not work |
6 | llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION); | 6 | llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION); |
7 | } | 7 | } |
8 | changed(integer change) | 8 | changed(integer change) |
9 | { | 9 | { |
10 | if (change & CHANGED_LINK) | 10 | if (change & CHANGED_LINK) |
11 | { | 11 | { |
12 | key av = llAvatarOnSitTarget(); | 12 | key av = llAvatarOnSitTarget(); |
13 | //evaluated as true if not NULL_KEY or invalid | 13 | //evaluated as true if not NULL_KEY or invalid |
14 | if (av) | 14 | if (av) |
15 | { | 15 | { |
16 | llSay(0, "Hello " + llKey2Name(av) + ", thank you for sitting down"); | 16 | llSay(0, "Hello " + llKey2Name(av) + ", thank you for sitting down"); |
17 | } | 17 | } |
18 | } | 18 | } |
19 | } | 19 | } |
20 | } | 20 | } |