Objhere

Main.Objhere History

Hide minor edits - Show changes to markup

December 31, 2008, at 06:15 PM EST by admin
Added lines 1-11:
     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