Re: [NEWBIE-ISH] [DG SCRIPTS]

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 09/29/98


On Mon, 28 Sep 1998 20:53:21 -0400 Del Minturn <caminturn@EARTHLINK.NET>
writes:
>two questions:
>
>1. what is ship_num defined as at this point?
It's an extern int, at the top of the file.

>> if
>((ship_num=find_ship_by_id(GET_SHIP(c)))>=0&&ship_num<num_of_ships)
>
>2. This seems to have a three part if (before the &&)
>
>   ship_num = find_ship_by_id(GETSHIP(c)) >= 0
>            ^                             ^^
>
>   is that what it is supposed to be in an if statement????

As far as I knew, that _was_ an if statement due to the if above it...
If there ship number is greater than/equal to 0, they have a ship.  I
have them stored in a file, similar to clans...

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST