Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. integer lock = FALSE;
  2. integer chan;
  3. key owner_key;
  4. key toucher_key;
  5. string owner;
  6. string toucher;
  7. integer listener;
  8. integer offset = 100;
  9.  
  10. default
  11. {
  12. attach(key n)
  13. { llResetScript();
  14. }
  15. on_rez(integer n)
  16. { llResetScript();
  17. }
  18. state_entry()
  19. { chan = 0x80000000 | (integer)("0x"+(string)llGetOwner());
  20. chan += offset ;
  21. chan = -chan;
  22. owner_key = llGetOwner();
  23. owner = llGetDisplayName( owner_key );
  24. }
  25. touch_start(integer total_number)
  26. { listener = llListen(chan,"","","");
  27. toucher_key = llDetectedKey(0);
  28. toucher = llGetDisplayName( toucher_key );
  29. llOwnerSay("Your tail is being touched by " + toucher );
  30. if( toucher == owner)
  31. { llDialog( owner_key,"Change Tail option",["Change Diaper","Kisses","feed","treat","Tuck in","Dress","Hugs","Hold","Bath"],chan);
  32. }
  33. else
  34. { llDialog( toucher_key,"Choose an action",["Change Diaper","Kisses","feed","treat","Tuck in","Dress","Hugs","Hold","Bath"],chan);
  35. }
  36. }
  37. listen(integer channel, string name, key id, string message)
  38. { llListenRemove(listener);
  39. if( message == "Kisses")
  40. { llSay(0,"\n" + toucher + " kissies baby madzi on the forehead" );
  41. }
  42. if( message == "Change Diaper")
  43. { 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." );
  44. }
  45. if( message == "feed")
  46. { llSay(0,"\n" + toucher + " slowly feeds baby a spoonful of delicious baby food, mmmm" );
  47. }
  48. if( message == "treat")
  49. { llSay(0,"\n" + toucher + " gives baby a sticker for being such a good girl" );
  50. }
  51. if( message == "Tuck in")
  52. { llSay(0,"\n" + toucher + " sweetly tucks baby into bed kissing her goodnight" );
  53. }
  54. if( message == "Dress")
  55. { llSay(0,"\n" + toucher + " lays down baby and begins to dress her into the cutest outfit saying you are so adorable!" );
  56. }
  57. if( message == "Hugs")
  58. { llSay(0,"\n" + toucher + " gently hugs baby lovingly" );
  59. }
  60. if( message == "Hold")
  61. { llSay(0,"\n" + toucher + " holds baby close and rocks her gently" );
  62. }
  63. if( message == "Bath")
  64. { llSay(0,"\n" + toucher + "washes baby with a warm cloth while humming a tune and smiling down at her." );
  65. }
  66. // etc etc
  67. }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement