MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: [newbie] Programmer Tutorial Question



>  1: if (this.wound)
>  2:    if ($object_utils:isa(this.location,$room)
>__3_      this.location:announce_all(this.name," ",this:continue_msg());
>^^4^     this.wound = this.wound - 1;
>  5:     if (this.wound)

Look at line 2.  You didn't close the parentheses completely.  Try:
  if ($object_utils:isa(this.location,$room))
                                            ^ the missing parentheses

Seth / Blackbriar
---------------------------------------------------------------------------
Seth I. Rich - sir@po.cwru.edu                         no, no quote.
Rabbits on walls, no problem.                          it's far too cold.



Home | Subject Index | Thread Index