Advertisement
Jym_Nova

Ehh

Mar 22nd, 2023
1,763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default{
  2.     state_entry(){
  3.         llListen(0, "", "", "");
  4.     }
  5.     listen(integer ch, string name, key id, string msg){
  6.         integer verify = llSubStringIndex(llToLower(msg),"yseult");
  7.         if(id == llGetOwner()){/*Do Nothing*/}
  8.         else {
  9.             if(verify != -1){
  10.                 if(llList2Integer(llGetObjectDetails(id,[OBJECT_RENDER_WEIGHT]),0) != 0){ //0 is object
  11.                     llOwnerSay("Name mentioned");
  12.                     //Playsound, or whatever
  13.                 }
  14.             }
  15.         }
  16.     }
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement