Jump to content
  • 0

llListen Efficiency


Sayrah Parx
 Share

You are about to reply to a thread that has been inactive for 4064 days.

Please take a moment to consider if this thread is worth bumping.

Question

  • 0

There's less load on the servers if you do your filtering in the script itself instead of making the servers do it three times.  My solution would be something like

default{    state_entry()    {        llListen(12345,"","","");    }    listen (integer channel, string name key id, string msg)    {        if (~llListFindList(["Object 1","Object 2","Object 3"],[name]))        {            //Do something        }    }}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

There's less load on the servers if you do your filtering in the script itself instead of making the servers do it three times.  My solution would be something like

default{    state_entry()    {        llListen(12345,"","","");    }    listen (integer channel, string name key id, string msg)    {        if (~llListFindList(["Object 1","Object 2","Object 3"],[name]))        {            //Do something        }    }}

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4064 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...