Jump to content

Format of emailed IM from an Object


Gregory McLeod
 Share

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

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

Recommended Posts

I have a prim from which I want to send to my email address a number of messages relating to events external to the prim.

When an event is detected I have used the llInstantMessage to send a message to myavatar. If I am not currently logged in it will send these IMs to my email address.

The example below shows the principle.

string Gregory_McLeod = "key of avatar Gregory McLeod";
integer IMCounter = 0;
default
{
    state_entry()
    {
        llSay(0, "Hello, Avatar!");
    }

    touch_start(integer total_number)
    {
        llSay(0, "Touched.");
	IMCounter++;
	llInstantMessage(Gregory McLeod,"test message number "
             + (string)IMCounter + " sent at " + "time coding");
    }
}

  What my question is  can the format of the emailed IM by modfied.

What I get by email is

The object <primname> has sent you a message from Second Life:

test message number 1 sent at <timestamp>

 = <primname> is owned by Gregory Mcleod

= http://slurl.com/secondlife/<location of prim>

 

The object <primname> has sent you a message from Second Life:

test message number 2 sent at <timestamp>

= <primname> is owned by Gregory MLeod

= http://slurl.com/secondlife/<location of prim>

 

and so on with multiple entries in aone email

Can the messages about the primname owner and its location be removed?

Link to comment
Share on other sites

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

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
 Share

×
×
  • Create New...