We are working diligently to bring you better content Join V.I.P Today. and become part of the Team!
After you Pay for V.I.P click the Email Us link to email your username
and receipt for Activation
EMAIL US
Membership Options
Thread Rating:
  • 39 Vote(s) - 3.13 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lantern Alliance - Online Indicator w/ Kill command
#1
Hello Guest!! You need to Register or to view the content
Reply
#2
must see what it is in responce to X3

nice very nice but what i want is a prim that spams a red alert message to them like there hud but just fucking contentaly think someone on here could work that out lmao
[Image: 174576_138600926198929_5528847_n.jpg]
Reply
#3
sounds good make a video and add it to this post so we can see if in action. I want to get vids for new griefer scripts.
Reply
#4
Online Indicator wasn't showing their names in red when they where in the same sim as you.

Fixed it:
PHP Code:
//-------------------------------------------------------------------------//
float tick 0.25//--- How long to sleep after agent is detected

//integer BroadcastChannel = 666; //--- Channel To send kill command on

//-------------------------------------------------------------------------//
key nQuery NULL_KEY;
integer nLine 0;
list 
nList = [];
list 
oList = [];
integer cursor 0;
string name;
//-------------------------------------------------------------------------//

default {
    
state_entry() {
        
integer i llGetInventoryNumber(INVENTORY_NOTECARD)-1;
        do {
            if(
llGetInventoryName(INVENTORY_NOTECARDi) == "agents"
            
jump found_notecard;
        }
        while(--
i>-1);
        
llSay(DEBUG_CHANNEL"Could not find agents notecard.");
        return; 
//-------------------------------------------------------------------------//
        
@found_notecard;
        
nQuery llGetNotecardLine("agents"nLine);
    }
//-------------------------------------------------------------------------//
    
changed(integer change) {
        if(
change CHANGED_INVENTORYllResetScript();
    }
//-------------------------------------------------------------------------//
    
dataserver(key idstring data) {
        if(
id != nQuery) return;
        if(
data == EOFstate scan;
        if(
data == ""jump next_line;
        
nList += data;
        
oList += 0;
//-------------------------------------------------------------------------//
        
@next_line;
        
nQuery llGetNotecardLine("agents", ++nLine);
    }
}
//-------------------------------------------------------------------------//
state scan {
    
state_entry() {
        
llRequestAgentData(llList2Key(llParseString2List(llList2String(nListcursor), ["#"], []), 1), DATA_ONLINE);
    }
    
dataserver(key idstring data) {
        
key agent llList2Key(llParseString2List(llList2String(nListcursor), ["#"], []), 0);
        
name llList2String(llParseString2List(llList2String(nListcursor), ["#"], []), 0);    
        
integer online llList2Integer(oListcursor);
//-------------------------------------------------------------------------//
        
if(data == "0" && online == 1) {
            
llInstantMessage(llGetOwner(), name " is offline.");
            
oList llListReplaceList(oList, (list)0cursorcursor);
            
llSleep(tick);
            
jump next;
        }
//-------------------------------------------------------------------------//
        
if(data == "1") {
            if (
llGetAgentSize(agent) != ZERO_VECTOR)
            {
//                llRegionSay( BroadcastChannel, "end" + (string)llGetOwner() );//Command to shout "end"
                
llSetText(name " is online.", <1.00.00.0>, 1.0);
                
oList llListReplaceList(oList, (list)1cursorcursor);
                
llSleep(tick);
                
jump next;
            } else {
                
llSetText(name " is online.", <0.01.00.0>, 1.0);
                
oList llListReplaceList(oList, (list)1cursorcursor);
                
llSleep(tick);
                
jump next;
            }
        }
//-------------------------------------------------------------------------//
        
@next;
        if(++
cursor llGetListLength(nList)-1cursor 0;
        
llRequestAgentData(llList2Key(llParseString2List(llList2String(nListcursor), ["#"], []), 1), DATA_ONLINE);
//-------------------------------------------------------------------------//
    
}
    
changed(integer change) {
        if(
change CHANGED_INVENTORYllResetScript();
    }

Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SCRIPT REZZER VIA COMMAND- Snoopy 0 1,735 04-23-2013, 11:32 PM
Last Post: Snoopy
  KILL CAM TRASHER- Snoopy 0 1,588 04-23-2013, 11:23 PM
Last Post: Snoopy

Forum Jump:


Users browsing this thread: 1 Guest(s)

About Unrestricted Second Life

GoonSquad CopyBot Forum is a place where you can get items for Second Life and other vitual worlds for free. With our CopyBot viewers you can export and import any content from these viryual worlds and modify them in 3D software such as Blender, 3D studio Macx etc...

              Quick Links

              User Links