View difference between Paste ID: i0VT9U8X and zqgFffmV
SHOW: | | - or go back to the newest paste.
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){
9+
            if(verify != -1){
10-
				if(llList2Integer(llGetObjectDetails(id,[OBJECT_RENDER_WEIGHT]),0) != 0){ //0 is object
10+
                if(llList2Integer(llGetObjectDetails(id,[OBJECT_RENDER_WEIGHT]),0) != 0){ //0 is object
11-
	    	        //Playsound, or whatever
11+
                    llOwnerSay("Name mentioned");
12-
				}
12+
                    //Playsound, or whatever
13-
        	}
13+
                }
14-
		}
14+
            }
15
        }
16-
}
16+
17
}
18