Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Email Script for arrival

Larry Klugman
Registered User
Join date: 10 Jun 2008
Posts: 7
07-31-2008 18:25
My land is where few people ever visit, and i want a prim to send an email in RL anytime someone arrives. it would of course need some kind of timer so the email would not happen for the same avatar over and over again. Is this technically possible, does the script exist already?

Larry
Trep Cosmo
Registered User
Join date: 3 Mar 2005
Posts: 101
07-31-2008 21:57
llEmail()

Simply keep a list of like the last 20 avatars your llSensor() detects then use that to determine if you've been e-mailed already. If it's a new avatar on the list, send the e-mail.
_____________________
"There is no 'I' in team, but there is a 'Me' if you scramble it." -- House
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
08-01-2008 07:35
Easier than that is to simply use the open source visitor counter and add the llEmail to it when it pops someone on the list, then maybe on a timer, once per day, clear the visitor list.

http://www.secondscripter.com
_____________________
My tutes
http://www.youtube.com/johanlaurasia