Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetNextEmail("", "mySubject") triggers mail() events in others scripts in prim???

Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
03-18-2006 02:39
Hi,

I was planning to consume email in two separate scripts in the same prim for separate reasons using the subject as the differentiator (e.g. llGetNextEmail("", "subject1";).

I think what I'm seeing however is that in Script 1 if I perform such a llGetNextEmail it trigger the mail() event in both Script 1 and Script 2??? I was hoping to only have Script 2 emails coming into its event after a Script2 "llGetNextEmail("", "subject2";)" statement.

Is this the expected behaviour?

Cheers
carrot Potato
Registered User
Join date: 16 Mar 2006
Posts: 5
03-18-2006 13:54
I think this is the normal behaviour. You can use a "sorter" script that contains the mail() event and then redirect to the 2 other scripts, depending on subject, via a linked message.