These forums are CLOSED. Please visit the new forums HERE
An Idea I have for a Script |
|
Cruven Garden
Registered User
Join date: 7 Jun 2005
Posts: 6
|
07-29-2005 02:36
I don't know how to script so what I can't do myself I find someone smarter to do it for me. I need a script that is well commented so it can be modified by the average user. I will make the script a freebie so if you want credit as the creator, put that in the comments. What I need is a script that when put in any object, if you say c1 it will say a different command like typing in the chat field and press enter. also need the same for c2, c3, etc. I need it for c0 - c9. Can this be done?
|
Minsk Oud
Registered User
Join date: 12 Jul 2005
Posts: 85
|
07-29-2005 03:15
So something along the lines of this example, but with multiple if statements? Simply replacing the listen body with something like:
CODE should give you what you want. You may need to change the llListen to accept messages from avatar's other than its owner. |
Catherine Omega
Geometry Ninja
![]() Join date: 10 Jan 2003
Posts: 2,053
|
07-29-2005 03:49
Here you go. I think this is pretty well commented, but you may want to look up some of the terms on the LSL wiki.
CODE // This script listens for chat from either the owner or any speaker, depending on settings. _____________________
|
Branduff Kojima
probably doesn't get it.
![]() Join date: 1 Apr 2004
Posts: 89
|
07-29-2005 04:17
Here you go. I think this is pretty well commented, but you may want to look up some of the terms on the LSL wiki. that is pretty well commented. |
Cruven Garden
Registered User
Join date: 7 Jun 2005
Posts: 6
|
Thanks Everyone
07-29-2005 05:35
Thank You, but I fould another way instead of using scripts to do what I described. I just create a gesture for it.
|