Objhere

     objhere - syntax: objhere("objkey") 

True if at least one item with key [objkey] is in the room. Objkey also be a name but using an obj key is preferred to avoid keyword issues.

   --- If there's a fountain...
    if objhere('fountain') then
       --- $n is always mob running the prog.
       echo ("$n pisses in the fountain!"
    end