Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Long delay when objects send IM?

Sleeper Guillaume
Explorer Achiever
Join date: 8 Jan 2003
Posts: 120
02-06-2003 12:01
Is it expected behavior to have a multi-second delay when objects execute llInstantMessage()?
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
02-06-2003 13:37
Happens... dunno why... but it does! It acts as a llSLEEP in a way... the script won't read until the msg has been sent.
_____________________
Aaron Linden
Linden Lab Staff
Join date: 19 Nov 2002
Posts: 59
02-12-2003 17:53
If I remember correctly, the delay is by design. llsay() does the same thing. Both of these operations are expensive ands and, if put in a loop, both could result in a flood of spam. So to avoid abuse, we follow these functions with an automatic sleep.

This really should be in the docs.

Aaron