View difference between Paste ID: zqgFffmV and QHuSWJbB
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){
10-
    	        //Playsound, or whatever
10+
				if(llList2Integer(llGetObjectDetails(id,[OBJECT_RENDER_WEIGHT]),0) != 0){ //0 is object
11
	    	        //Playsound, or whatever
12
				}
13
        	}
14
		}
15
    }
16
}