Yeah there is. You're over-complicating things. :P
obj log tree Click() ..() //Depending on your obj Click() function, you may or may not want to call this new/obj/log(src.loc) //No need for the variable, no need for explicit declaration, the new procedure takes a turf as an argument for location, and no need for locate. spawn() del(src)
Chrislee i have a verry serious question to ask you and that is: did you read the DM Guide and DM Reference? because im getting this huge vibe that you didnt, because i started out like you asking about a billion questions here and a few people helped me but most pointed me to the DM Guide which really helped me, so check it out its on the left of this page under the Resources block, the 3rd link from the top of the Resources block.
hopefully you read this all the way through (dont skim) and it helps ^__^
there is prob a cleaner way to do that but its nice and simple.