User:Jana Kamachi/tut email
< User:Jana Kamachi
Jump to navigation
Jump to search
Revision as of 23:32, 16 October 2007 by Jana Kamachi (talk | contribs) (New page: This is a simple two part system. One of them, the master script, controls sending out the messages while the slaves actually '''do''' the work. Its much faster and efficent compared to al...)
This is a simple two part system. One of them, the master script, controls sending out the messages while the slaves actually do the work. Its much faster and efficent compared to alot of the ones out there.
Part one: Master script.
Part Two: Slave script.
This part can be a bit tricky. Since it uses its name to decide when its supposed to do the work, it must be named properly. make 20 of these, named "t 0", "t 1", "t 2", ect. until you reach "t 19". Heres the code:
default { link_message(integer s_n,integer num, string str, key id){ if("t " + (string)num == llGetScriptName()){ llEmail((string)id + "@lsl.secondlife.com",llGetObjectDesc(),str); } } }