Don't click here unless you want to be banned.

LSL Wiki : XeltonTzedek

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org

Notes

My first script made onto onto the lslwiki site. The Xe.DialogerV1.0, a script that I take lots of pride in, as it was one of the bigger turning points in my knowledge of scripting. Say "dlg: message here."

Example

//Made and originated by Xelton Tzedek.
//Not for resale!
//Please don't use this script for spam!
key people;
integer np;
default
{
    state_entry()
    {
        llListen(0,"",llGetOwner(),"");
        llSensorRepeat("","",AGENT,100,TWO_PI,.01);
    }

    sensor(integer num)
    {
        np=0;
        for(;np<num;np++)
        {
            people=llDetectedKey(np);
        }
    }
    listen(integer c,string n,key i,string m)
    {
        if(llGetSubString(m,0,4)=="dlg: ")
        {
            string cm=llGetSubString(m,5,llStringLength(m));
            llDialog(people,cm,[],-1);
            llDialog(llGetOwner(),cm,[],-1);
        }
    }
    on_rez(integer sp)
    {
        llResetScript();
    }
}
There is no comment on this page. [Display comments/form]