Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
Last active October 29, 2019 08:02
Show Gist options
  • Save jfmherokiller/20adc0a4d2ccfa2725e7733efa47c6e8 to your computer and use it in GitHub Desktop.
Save jfmherokiller/20adc0a4d2ccfa2725e7733efa47c6e8 to your computer and use it in GitHub Desktop.
Egg Laying script
LayingOptions(string message) {
//this gets the last charater of the string so you arent having layx-8
string value = llGetSubString(message,-1,-1);
switch (value)
{
case "2":
{
llPlaySound("df8dbc1c-158d-ec26-5182-2cfe418b3de4", 1);
llOwnerSay("A strange, warming, blissful feeling ripples from deep within, and slowly works its way to your outer extremities, moving to even your finger tips.");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me's belly groans out loudly");
llSetObjectName(sName);
break;
}
case "3":
{
llLoopSound("37f0fc20-3c5c-98d6-bb5c-be26d8368116", 1);
llOwnerSay("A strange, warming, blissful feeling ripples from deep within, and slowly works its way to your outer extremities, moving to even your finger tips. Something is moving within you and going down and you can easly feel it, you may feel and want to find a safe secluded place, or seek others help, and perhaps comfert at this time.perhaps a natural space might help as well to aliveat the odd needs");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me's belly makes more noises oddly, and something looks as if its moving within");
llSetObjectName(sName);
llSleep(90);
llStopSound();
break;
}
case "4":
{
llPlaySound("f2472501-ce6f-6e1c-a002-4e5575000cf5", 1);
llOwnerSay("you feel a dampness along your crotch, and undertail, its a veary slick feeling, things seem to settal down for the moment, and theres a sweet sent about ");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me's crotch looks a little damp, and a sweet allmost floral sent seems to be eminating from there");
llSetObjectName(sName);
//llStopSound();
break;
}
case "5":
{
llPlaySound("f2472501-ce6f-6e1c-a002-4e5575000cf5", 1);
llOwnerSay("you feel a urge to want to remove any thing covering you , mostly your crotch section,as urges start to become more and more strongerlike you have to sexualy releave your self and use the bathroom at the same time, but this comes in waves, you feel your self start to slow");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me's crotch looks a bit more damp, and a sweet allmost floral sent eminats from there");
llSetObjectName(sName);
llOwnerSay("@temprun=n");
llOwnerSay("@alwaysrun=n");
llOwnerSay("@run=n");
//llStopSound();
// prevent rum
break;
}
case "6":
{
llOwnerSay("@temprun=n");
llOwnerSay("@alwaysrun=n");
llOwnerSay("@run=n");
llPlaySound("f2472501-ce6f-6e1c-a002-4e5575000cf5", 1);
llOwnerSay("you feel weekness in your legs as you feel things moving deep within you into poshion, towards your exiting hole you drop to your knees, you know for shure that you dont have mutch time left befor things do what thier about to do with in you");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me's crotch becomes fully wet and drips a viscus clear fluid");
llSetObjectName(sName);
llStartAnimation("Kneel");
llSleep(15.0);
llStopAnimation("Kneel");
//llStopSound();
// see if move ment can be slowed down a lot, knees to the floor pose needed
break;
}
case "7":
{
llStartAnimation("Kneel");
llOwnerSay(" you cant help but go to your knees, and lay back, you can feel eggs moving within you pushing thier way outward, oh the blissful feelings so intoxicating, and paralyzing. the most one could do is moan and orgasome inplace.*egg lays in 126seconds* ");
string sName = llGetObjectName();
llSetObjectName(llGetUsername(llGetOwner()));
llSay(0, "/me would suddenly stop what ever thay were doing, as thier crotch starts driping a clear thick fluid and suddenly drops to thier knees shortly after uncontrollably thay lean back and open thier legs looking all hot and botherd in a sensual way.");
llSetObjectName(sName);
llSleep(6);
llStopAnimation("Kneel");
llSleep(.5);
llOwnerSay("@sit=force");
llSleep(0.2);
llOwnerSay("@unsit=n");
llSleep(0.2);
llOwnerSay("@adjustheight:-129.0=force");
llSleep(0.2);
llStartAnimation("Give Birth animation 2");
llSleep(120);
// start the egg moves out of body and rezes one egg
llOwnerSay("soon begins to emirge from you, causing you to shudder in nothing but bliss, unable to move, but may be shudder in place and make all sorts of sexual pleased sounds.*64 seconds of recovery till all is back to normal*");
llSay(0, "starts to emirge,from its host, all slick and shiny fresh and warm and a some what thick shell");
llSetPos(llGetLocalPos() +<0, 0, -.1>);
llSleep(4);
llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), llGetPos() +< 0, 0, -.10 >, ZERO_VECTOR, ZERO_ROTATION, 0);
llSetPos(llGetLocalPos() +<0, 0, .1>);
// llOwnerSay("you begin to recover from the expariance*45 seconds till animaion reseases*")
llSleep(60);
//end the egg finishes
llOwnerSay("@unsit=y");
llSleep(0.2);
llOwnerSay("@unsit=force");
llSleep(0.2);
llStopAnimation("Give Birth animation 2");
llOwnerSay("@adjustheight:0.0=force");
llSleep(0.2);
//llStartAnimation("Kneel");
//llSleep(6);
llOwnerSay("@sit=force");
// drop to knees animation, to on ground birthing, no movement
break;
}
case "8":
{
llOwnerSay("@sit=force");
llSleep(0.2);
llOwnerSay("@unsit=n");
llSleep(0.2);
llOwnerSay("@adjustheight:-129.0=force");
llStartAnimation("Give Birth animation 2");
llSleep(45);
// start the egg moves out of body and rezes one egg
llSetPos(llGetLocalPos() +<0, 0, -.1>);
llSleep(4);
llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), llGetPos() +< 0, 0, -.10 >, ZERO_VECTOR, ZERO_ROTATION, 0);
llSetPos(llGetLocalPos() +<0, 0, .1>);
llSleep(45);
//end the egg finishes
llOwnerSay("@unsit=y");
llSleep(0.2);
llOwnerSay("@unsit=force");
llSleep(0.2);
llStopAnimation("Give Birth animation 2");
llOwnerSay("@adjustheight:0.0=force");
llSleep(0.2);
//llStartAnimation("Kneel");
//llSleep(6);
llOwnerSay("@sit=force");
//llOwnerSay("testing2");
break;
}
case "x":
{
llSetPos(llGetLocalPos() +<0, 0, -.1>);
llSleep(3.5);
llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), llGetPos() +< 0, 0, 0 >, ZERO_VECTOR, ZERO_ROTATION, 0);
llSetPos(llGetLocalPos() +<0, 0, .1>);
llOwnerSay(" you have randomly layed an egg");
//llSay(0,"starts to emirge,it is starel");
break;
}
case "f":
{
llDetachFromAvatar();
break;
}
default:
{
llOwnerSay("@detach=n");
llPlaySound("13ee5b82-a7e6-6812-eb01-adb070d427e1", 0.5);
llOwnerSay("A strange, warming, slightly blissful feeling tingles from your belly, and slowly works its way to your extremities, as some slight movement with in your body could be felt.., Is something more about to happen?. Who knows, but its hapening to you");
break;
}
}
}
ListenBody(integer channel, string name, key id, string messageI) {
string message = messageI;
//check if message contains chars and check if chars match
//if false cancel command if true continue
if((llSubStringIndex(message,",") != -1) || (channel == 65)) {
list mylist = llParseString2List(message,[","], [""]);
string Charaters= llToLower(llStringTrim(llList2String(mylist, 0),STRING_TRIM));
if(Charaters != playerChars) {
} else {
message = llList2String(mylist, 1);
}
}
//checks if lay command
if(llSubStringIndex(message,"lay") != -1) {
LayingOptions(message);
}
if (message == "stop sound") {
llStopSound();
}
if (message == "start sound") {
llLoopSound("37f0fc20-3c5c-98d6-bb5c-be26d8368116", 1);
}
if (message == "lock") {
llOwnerSay("@detach=n");
llOwnerSay("locked");
}
if (message == "unlock") {
llOwnerSay("@temprun=y");
llSleep(0.4);
llOwnerSay("@alwaysrun=y");
llSleep(0.4);
llOwnerSay("@run=y");
llSleep(0.4);
llOwnerSay("@unsit=y");
llSleep(0.4);
llStopAnimation("Give Birth animation 2");
llStopAnimation("Kneel");
llOwnerSay("unlocked, how ever the deposited egg(s) is still nicely tucked away with in you but your movement is unhinderd and animations have been stoped");
}
if (message == "test") {
llOwnerSay("@adjustheight:-120.0=force");
llStartAnimation("Give Birth animation 2");
llSleep(3);
llStopAnimation("Give Birth animation 2");
llOwnerSay("@adjustheight:0=force");
llOwnerSay("testing");
}
if (message == "full unlock") {
llOwnerSay("@detach=y");
llSleep(0.2);
llOwnerSay("@clear");
llOwnerSay("fully unlocked you may now move freely and detach the item");
}
}
string playerChars;
integer IsDetaching = FALSE;
default
{
state_entry() {
llListen(65, "", NULL_KEY, "");// private chanel only assigend to your host
llListen(64, "", NULL_KEY, ""); // global key if you want to get a hole group
llSensorRepeat("", "", AGENT_BY_LEGACY_NAME, 1.0, PI,1.0);
}
listen(integer channel, string name, key id, string message) {
ListenBody(channel,name,id,message);
}
on_rez( integer start_param)
{
//keep looking for avis every second
llSensorRepeat("", "", AGENT_BY_LEGACY_NAME, 1.0, PI,1.0);
}
sensor( integer num_detected )
{
key thisAgent;
integer agentNum;
for (agentNum=0; agentNum<num_detected; agentNum++)
{
thisAgent = llName2Key(llDetectedName(agentNum));
if ((llDetectedKey(agentNum) != llGetOwner()) && (llDetectedKey(agentNum) != NULL_KEY) )
{
llOwnerSay("I have chosen: " +llDetectedName(agentNum));
llSensorRemove();
llRequestPermissions( thisAgent, PERMISSION_ATTACH | PERMISSION_TAKE_CONTROLS | PERMISSION_TRIGGER_ANIMATION);
}
//this code looks for the closest avi
}
}
run_time_permissions( integer perm )
{
//hopefully attaches it to the groin
if( perm & PERMISSION_ATTACH )
{
if(!IsDetaching) {
llAttachToAvatarTemp( ATTACH_GROIN );
}
} else if (perm == 0) {
llSensorRepeat("", "", AGENT_BY_LEGACY_NAME, 1.0, PI,1.0);
}
}
attach( key id )
{
list separated=llParseString2List(llKey2Name(llGetOwner()), [" "], []);
playerChars = llToLower(llGetSubString(llList2String(separated, 0), 0, 0) + llGetSubString(llList2String(separated, 1), 0, 0));
IsDetaching = TRUE;
llRequestPermissions( id, PERMISSION_ATTACH | PERMISSION_TAKE_CONTROLS | PERMISSION_TRIGGER_ANIMATION);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment