Torisu10
-
Posts
6 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by Torisu10
-
-
For example, if the public chat has a last recorded message saying "hello world" could a script detect this somehow to be used in scripting?
A more clear example.. if the chat is like this:
1: hey how are you
2: im great wbu?
3: awesome, thanks!
(event in script will then trigger)
--
I want to make a script that will constantly detect the last stated message on the public channel until it hits the correct string that will trigger an event in the script. For the sake of the example, lets assume the string its parsing for in each last stated message is "awesome, thanks!". Once the last stated message is "awesome, thanks!" an event will trigger within the script...
Is this actually possible? thanks
-
Thanks guys!
-
-
for example, i want to generate a random float between -2 and 2. it could be -1.7634 or 1.2341 after generation for example as long as its random. I can only seem to find documentation online that allows for positive range random float outputs...
-
I can use if statements but for some reason i cant use else if or else statements at all in my scripts. I've tried so many different ways to solve this. here is my sample code.
if (message == "Add 1 to green" && count == 0)
green_count += 1;
count += 1;
llSetText("Green: " +(string)green_count,<1.0,1.0,1.0>,1.0);
else
count -= 1;I'm constantly getting an error on the else command line.
Is there a way to detect the last stated message within the public channel (0) ?
in LSL Scripting
Posted · Edited by Torisu10
rewrite
what if I want to detect a message coming from the same object or is this possible