Sorry if the title question is confusing. Here's what I'm trying to do. My script to generate a daily random encounter table is almost done, but I want to prevent it from making a new handout every time I use it, and instead overwrite the one that's there. This is what i've got so far. The else works swimmingly. The main If works (it detects that there is something there), but when i get to set handout to whatever is there, it returns null. if(findObjs({_type:"handout",name:"Daily Encounter"}) != ""){ log("handout does exists") handout = getObj({_type: "handout",name:"Daily Encounter"}) log(handout) //example from the wiki // var character = getObj("character", obj.get("represents")); } else{ log("handout doesnt exist") var handout = createObj("handout",{name:'Daily Encounter'}) } I've also tried getObj(...).id, but it also returned couldn't get the id of null.