Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer lock = FALSE;
- integer chan;
- key owner_key;
- key toucher_key;
- string owner;
- string toucher;
- integer listener;
- integer offset = 100;
- default
- {
- attach(key n)
- { llResetScript();
- }
- on_rez(integer n)
- { llResetScript();
- }
- state_entry()
- { chan = 0x80000000 | (integer)("0x"+(string)llGetOwner());
- chan += offset ;
- chan = -chan;
- owner_key = llGetOwner();
- owner = llGetDisplayName( owner_key );
- }
- touch_start(integer total_number)
- { listener = llListen(chan,"","","");
- toucher_key = llDetectedKey(0);
- toucher = llGetDisplayName( toucher_key );
- llOwnerSay("Your tail is being touched by " + toucher );
- if( toucher == owner)
- { llDialog( owner_key,"Change Tail option",["Change Diaper","Kisses","feed","treat","Tuck in","Dress","Hugs","Hold","Bath"],chan);
- }
- else
- { llDialog( toucher_key,"Choose an action",["Change Diaper","Kisses","feed","treat","Tuck in","Dress","Hugs","Hold","Bath"],chan);
- }
- }
- listen(integer channel, string name, key id, string message)
- { llListenRemove(listener);
- if( message == "Kisses")
- { llSay(0,"\n" + toucher + " kissies baby madzi on the forehead" );
- }
- if( message == "Change Diaper")
- { llSay(0,"\n" + toucher + " checks baby and sees she needs a change, then slowly lays down baby and gently untapes the diaper cleaning them up and putting on a new one." );
- }
- if( message == "feed")
- { llSay(0,"\n" + toucher + " slowly feeds baby a spoonful of delicious baby food, mmmm" );
- }
- if( message == "treat")
- { llSay(0,"\n" + toucher + " gives baby a sticker for being such a good girl" );
- }
- if( message == "Tuck in")
- { llSay(0,"\n" + toucher + " sweetly tucks baby into bed kissing her goodnight" );
- }
- if( message == "Dress")
- { llSay(0,"\n" + toucher + " lays down baby and begins to dress her into the cutest outfit saying you are so adorable!" );
- }
- if( message == "Hugs")
- { llSay(0,"\n" + toucher + " gently hugs baby lovingly" );
- }
- if( message == "Hold")
- { llSay(0,"\n" + toucher + " holds baby close and rocks her gently" );
- }
- if( message == "Bath")
- { llSay(0,"\n" + toucher + "washes baby with a warm cloth while humming a tune and smiling down at her." );
- }
- // etc etc
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement