Easy Object Rotation

//////////CHANGE THESE SETTINGS////////////////////
string speed = "NORMAL"; //"VERY SLOW", "SLOW", "NORMAL", "FAST", "VERY FAST"
string direction = "FORWARD"; //"FORWARD", "REVERSE"
////////////////END SETTINGS///////////////////////

default
{
    state_entry()
    {
        vector speedvector = <0,0,0.6>;
        if (speed == "VERY SLOW")
        {
           speedvector = <0,0,0.15>;
        }
        else if (speed == "SLOW")
        {
           speedvector = <0,0,0.3>;
        }
        else if (speed == "NORMAL")
        {
           speedvector = <0,0,0.6>;
        }
        else if (speed == "FAST")
        {
           speedvector = <0,0,1>;
        }
        else if (speed == "VERY FAST")
        {
           speedvector = <0,0,5>;
        }
        if (direction == "REVERSE")
        {
            speedvector.z *= -1;
        }
        llOwnerSay("Object is rotating " + direction + " " + speed + ".");
        llTargetOmega(speedvector,PI,1.0);
    }
}

 

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