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

LSL Wiki : Xe.DialogerV1.0

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
NOTICE: The previous script that was here did work, but only to a certain extent. It didn't actually send dialog to everyone within 100m, just the number it's detecting within 100m at the moment. This is a problem I haven't exactly gotten around to fixing yet, but a temporary fix has been provided for you until another idea can come up. This temporary one DOES dialog virtually everyone within 100m from the object that the script is in (Only 16 really, which is the said limit that a sensor can detect at one time), but it is more than likely a lot slower than it would be for a script made to send one instantly. Sorry for any inconviniences you may have encountered...

Xe.DialogerV1.0

Not for resale!
This is a simple Dialogging script I made around when I first starting using Dialogs for certain objects and things. Say "dlg: message here." to use. Free to take, but please don't use it just to bother everyone, nobody likes a dialog spammer. If you come up against any problems with this script, please tell me about them! I also appreciate feedback...

//Made and originated by Xelton Tzedek.
//Not for resale!
//Please don't use this script for spam!
key p1;
key p2;
key p3;
key p4;
key p5;
key p6;
key p7;
key p8;
key p9;
key p10;
key p11;
key p12;
key p13;
key p14;
key p15;
key p16;
integer np;
default
{
    state_entry()
    {
        llListen(0,"",llGetOwner(),"");
        llSensorRepeat("","",AGENT,100,TWO_PI,.01);
    }

    sensor(integer num)
    {
    key p1=llDetectedKey(0);
    key p2=llDetectedKey(1);
    key p3=llDetectedKey(2);
    key p4=llDetectedKey(3);
    key p5=llDetectedKey(4);
    key p6=llDetectedKey(5);
    key p7=llDetectedKey(6);
    key p8=llDetectedKey(7);
    key p9=llDetectedKey(8);
    key p10=llDetectedKey(9);
    key p11=llDetectedKey(10);
    key p12=llDetectedKey(11);
    key p13=llDetectedKey(12);
    key p14=llDetectedKey(13);
    key p15=llDetectedKey(14);
    key p16=llDetectedKey(15);
    }
    listen(integer c,string n,key i,string m)
    {
        if(llGetSubString(m,0,4)=="dlg: ")
        {
                string cm=llGetSubString(m,5,llStringLength(m));
                llDialog(llGetOwner(),cm,[],-1);
    llDialog(p1,cm,[],-1);
    llDialog(p2,cm,[],-1);
    llDialog(p3,cm,[],-1);
    llDialog(p4,cm,[],-1);
    llDialog(p5,cm,[],-1);
    llDialog(p6,cm,[],-1);
    llDialog(p7,cm,[],-1);
    llDialog(p8,cm,[],-1);
    llDialog(p9,cm,[],-1);
    llDialog(p10,cm,[],-1);
    llDialog(p11,cm,[],-1);
    llDialog(p12,cm,[],-1);
    llDialog(p13,cm,[],-1);
    llDialog(p14,cm,[],-1);
    llDialog(p15,cm,[],-1);
    llDialog(p16,cm,[],-1);
        }
    }
    on_rez(integer sp)
    {
        llResetScript();
    }
}
There is no comment on this page. [Display comments/form]