Advertisement
Gayngel

listen rlv attach

Nov 28th, 2022 (edited)
1,758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //start_unprocessed_text
  2. /*
  3. integer tog;
  4. integer chan = -28888;
  5.  
  6. swap(string desc,string cmd){    
  7.     llOwnerSay("Swapping to "+desc);
  8.     llOwnerSay("@detachall:!core/KemonoBody=force");
  9.     llSleep(0.2);
  10.     llOwnerSay("@attach:!core/KemonoBody/"+cmd+"=force");
  11.     llOwnerSay(desc+" worn.");
  12.     /|/swap("Chest 2","chest2");
  13. }
  14.  
  15. default{
  16.     state_entry(){
  17.         llListen(chan,"","","");
  18.     }
  19.     listen(integer ch, string n, key id, string tx){
  20.         if(ch == chan){
  21.             if(tx == "swap"){
  22.                 if(tog){
  23.                     swap("Chest 2","chest2");
  24.                 }
  25.                 else{
  26.                     swap("Jiggle Puffs","JigglePuffs");
  27.                 }
  28.             tog=!tog;
  29.             return;
  30.             }
  31.            
  32.             if(tx == "ch2"){
  33.                     swap("Chest 2","chest2");
  34.             }
  35.             else if(tx == "jps"){
  36.                     swap("Jiggle Puffs","JigglePuffs");
  37.             }
  38.             return;
  39.         }
  40.     }
  41.     changed(integer chng) {if(chng & CHANGED_OWNER) {llResetScript(); }}
  42. }*/
  43. //end_unprocessed_text
  44. //nfo_preprocessor_version 0
  45. //program_version Firestorm-Releasex64 6.6.3.67470 - Eksynn
  46. //last_compiled 11/28/2022 13:43:30
  47. //mono
  48.  
  49.  
  50.  
  51.  
  52.  
  53. integer tog;
  54. integer chan = -28888;
  55.  
  56. swap(string desc,string cmd){    
  57.     llOwnerSay("Swapping to "+desc);
  58.     llOwnerSay("@detachall:!core/KemonoBody=force");
  59.     llSleep(0.2);
  60.     llOwnerSay("@attach:!core/KemonoBody/"+cmd+"=force");
  61.     llOwnerSay(desc+" worn.");
  62.    
  63. }
  64.  
  65.  
  66. @h@ integer bool;
  67.  
  68. default{
  69.     state_entry(){
  70.        
  71.         @h@bool = TRUE;
  72.        
  73.         llListen(chan,"","","");
  74.     }
  75.     listen(integer ch, string n, key id, string tx){
  76.         if(ch == chan){
  77.             if(tx == "swap"){
  78.                 if(tog){
  79.                     swap("Chest 2","chest2");
  80.                 }
  81.                 else{
  82.                     swap("Jiggle Puffs","JigglePuffs");
  83.                 }
  84.             tog=!tog;
  85.             return;
  86.             }
  87.            
  88.             if(tx == "ch2"){
  89.                
  90.                
  91.                 @h@if(bool == TRUE){
  92.                    
  93.                     @h@ bool = FALSE;
  94.                     swap("Chest 2","chest2");
  95.                 @h@ }
  96.                    
  97.                    
  98.                    
  99.                    
  100.             }
  101.             else if(tx == "jps"){
  102.                     swap("Jiggle Puffs","JigglePuffs");
  103.             }
  104.             return;
  105.         }
  106.     }
  107.     changed(integer chng) {if(chng & CHANGED_OWNER) {llResetScript(); }}
  108. }
  109.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement