removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
// :CATEGORY:Utility
// :NAME:Utility__Copy_Script
// :AUTHOR:Alondria LeFay
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:39:08
// :ID:940
// :NUM:1350
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Utility - Copy Script by Alondria LeFay.lsl
// :CODE:
// UTIL.copyscripts.lsl
// By Alondria LeFay
// Version 1.0
// Utility - Copy/Paste/Delete Scripts by Alondria LeFay
//I create quite a few things with pre-existant modules of scripts. It grew to become a pain to manually drag certain scripts into new objects over and over so I created a set of utility scripts to automate this. Inorder to copy the scripts, drop UTIL.copyscripts into the object you want to copy the scripts from, and UTIL.pastescripts into the object you want them copied into. The utility scripts will transfer all the scripts and then remove themselves. I also include UTIL.deletescripts, which is a quick way to remove all scripts from an object.
//Anyways, they are nothing too special, I just found myself using them a lot so I figured I'd pass them on.
integer lhook;
integer ch = 7983424;
integer pin = 75645;
alInit(integer argi)
{
if (lhook)
{
llListenRemove(lhook);
}
llListen(ch,"","","");
llSay(0,"Drop UTIL.pastescripts into object to copy scripts to.");
}
alParse(integer channel, string name, key id, string message)
{
list args;
args=llParseString2List(message, [" "],[]);
string obj=llList2String(args,0);
args=llDeleteSubList(args,0,0);
if (obj == "paste")
{
string foo = llList2String(args,0);
integer pw = llList2Integer(args,1);
llSay(0,"Transfering Scripts...");
integer num = llGetInventoryNumber(INVENTORY_SCRIPT);
integer i;
list scripts;
for (i = 0; i < num; i = i + 1)
{
string tmps = llGetInventoryName(INVENTORY_SCRIPT,i);
if (tmps != llGetScriptName())
{
llRemoteLoadScriptPin(foo,tmps,pin, llGetScriptState(tmps),0);
}
}
llSay(0,"Done!");
llRemoveInventory(llGetScriptName());
}
}
default
{
on_rez(integer argi)
{
alInit(argi);
}
state_entry()
{
alInit(0);
}
listen(integer channel, string name, key id, string message)
{
alParse(channel, name, id, message);
}
} // END //

View File

@@ -0,0 +1,6 @@
<Project name="Utility__Copy_Script_by_Alondria_Le" guid="D7CA05EC-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7CA06C6-6C00-1014-B904-200204C60A89">
<Script name="Utility__Copy_Script_by_Alondria_Le_1.lsl" guid="D7CA2937-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>