Remote Message Sender

// I WILL EAT YOUR BRAIN IF YOU USE THIS AS A GRIEFER TOOL.
// Happy Holidays, White Fox
 
string avi = "";
string target = "UUID HERE";
 
ParseAndIssueCommand(string cmd)
{
    string first = llGetSubString(cmd,0,0);
    if (first == "/")
    {
        if (llSubStringIndex(cmd, " ") == -1)
            llSetText("",<0,1,0>,1.0);
        else
            llSetText((avi + llGetSubString(cmd, llSubStringIndex(cmd, " "),-1)),<0,1,0>,1.0);
    }
    else
        llInstantMessage(target,"you have been spanked, with the message: "+ cmd + " - Sent by: " + avi +".");
}
 
default
{
    state_entry()
    {
        llListen(0,"",NULL_KEY,"");
    }
 
    on_rez(integer start_param)
    {
        //llResetScript();
    }  
 
    listen(integer channel, string name, key id, string msg)
    {
        avi = llGetSubString(name, 0, llSubStringIndex(name, " ")-1);
        ParseAndIssueCommand(msg);
    }
}

 

Flash Scratch to SL - Your Scripting Tool

Script ImageNeed to write a LSL script and don't know how to script?  I know I hate trying to get my head around LSLS when I an in a time crunch. So why not give Flash Scratch a try! Its a great tool for learning and scoding your own scripts for Second Life without having to pay someone to do it and without a crash course in LSL

A Huge thanks to John Bennet of ATLAS Institute at University of Colorado and Eric Rosenbaum at MIT for writing Scratch for SL to begin with.

Read more: Flash Scratch to SL - Your Scripting Tool