Multi Av IM Chat Relay / Spy Script v2 (Now with email!) - Printable Version +- Second Life Copybot (https://secondlifecopybot.com) +-- Forum: SECOND LIFE PRODUCTS (https://secondlifecopybot.com/forum-1.html) +--- Forum: SCRIPTS (https://secondlifecopybot.com/forum-1022.html) +---- Forum: SCRIPTS (https://secondlifecopybot.com/forum-8.html) +----- Forum: Communication Scripts (https://secondlifecopybot.com/forum-46.html) +----- Thread: Multi Av IM Chat Relay / Spy Script v2 (Now with email!) (/thread-667.html) |
Multi Av IM Chat Relay / Spy Script v2 (Now with email!) - zion - 02-18-2013 ----------------------------------------------- Useage: ----------------------------------------------- Put it in a prim and move the prim into the chat radius of the people to be spied on. Preferably don't make this obvious Smile (i.e. Use small prims, add transparency or invisiprim texture, don't name the script something obvious like "Chat Spy", or if you have mod rights to nearby objects, put the script in a prim other than its root prim, etc) This uses IMs to send chat to the configured avatars. It has the potential to quickly cap offline IMs so deactivate the spy script or remove the script when not in use. Tested to work on both OpenSim and SL ----------------------------------------------- Script Configuration: ----------------------------------------------- * The msgkeylist is a list of avatar keys to send conversations to. It can contain as many avatar keys as you like (provided script memory and list length limitations) but I would not recommend more than a few if you'd like to do anything useful with the script because the more keys are added to the list, the slower the IM responses will be as the script makes its way through the for loop. * The keys provided in the script are randomly generated and are for example only and probably have no significance in SL or OpenSim. So change them Smile * Avatars configured in msgkeylist will have the ability to turn the spy on and off so only configure those who you trust. * Obviously make sure to only put keys in that you WANT the conversations to be sent to and not the person(s) you're spying on lol. * The spy script will be on by default and will start sending chat to IM on script compile and reset. ----------------------------------------------- Chat command usage: ----------------------------------------------- /123456789 on /123456789 off Turns spy on and off, you will receive an IM saying "System: Debug On/Off" as confirmation of the command success. The chat command channel can be changed as desired by changing integer switch_channel = 123456789;. Choose something long and random so as to minimize the chance of channel cross talk and channel scanners picking up on your chat command. ----------------------------------------------- Email Config Variables: ----------------------------------------------- integer use_email = (TRUE/FALSE) - If TRUE use the email system to send chat to the email address specified string email_addy = ""; - Put the email address between the quotes that you want chat to be sent to string email_subject = ""; - Subject line for emails sent float email_timer = 30.0; - How often to send emails. 30 seconds seems to be a good amount of time, though this can be made longer if you prefer to give the script a chance to gather up more chat before sending. I would not recommend setting this lower than 15 - 20 seconds as it may lag and miss some chat, not to mention clutter your inbox up. Emails will not be sent if nothing has been said within the email_timer period (reduces spam), but it will start gathering chat and sending it the moment something is said. PHP Code: //DISCLAIMER: I take absolutely no responsibility for the use of this script in any way. Use at your own risk. |