It seems I cant find the sintax to use in the $searchspawn() command to make a search in a given spot passing it the X, Y and Z values.
I have tried to use
(where the value 100 it is only an example) but I always get back zero even when I know that in that given spot there is a npc. I am sure I am making a mistake but I cant find where.
Thanks you.