steph Arnott Posted December 20, 2013 Share Posted December 20, 2013 I tend to tighten my listeners i.e. what channel, what id, what message. I was wondering if the cost is high and some could be more loose. Link to comment Share on other sites More sharing options...
Rolig Loon Posted December 20, 2013 Share Posted December 20, 2013 It's another one of those "style" things mostly. If you know that you will always be looking only for Bob to say "Hello" on channel 87, then it's less work scripting llListen(87,"Bob","","Hello") than writing a couple of if tests to do the filtering later It also means that the servers have fewer messages to pass along to you. The extra work for you or the servers is pretty minimal, though, so I wouldn't spend much time agonizing over it. If you know that you'll be using the same channel to receive messages from several people (or several messages from the same person), though, it doesn't make much sense to write llListen(87,"Bob","","Hello); llListen(87,"Pete","","Hello"); llListen(87,"Pete","","Hi"); Keeping extra listen handlers open is wasteful, and it increases the chance that you'll forget to close one of them later. I also can't see much sense usually in specifying both a name and a UUID. If you really need to be sure that you are listening for the right "Bob", just specify his UUID. Link to comment Share on other sites More sharing options...
steph Arnott Posted December 20, 2013 Author Share Posted December 20, 2013 Thanks for the info, um, I did not mention BOB, "channel,id, message": :smileytongue:, Just not understand how the sever uses resources. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now