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

Heya all :)  I've got a question...  Can any of you see a problem with
the code below?  If you don't you're about as stuck as me, cos it doesn't
work. :P  I make a trigger using the variable %actor.ship% and
%actor.shiprank%, assign it to a mob and make it a greet trigger....  It
doesn't say anything, for people WITH ships or WITHOUT ships.  Thanks in


Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol


      else if (!str_cmp(field, "ship")){
if ((ship_num=find_ship_by_id(GET_SHIP(c)))>=0&&ship_num<num_of_ships)
   sprintf(str, "%s", ship[ship_num].name);
  else sprintf(str, "No ship");

      else if (!str_cmp(field, "shiprank")){
if ((ship_num=find_ship_by_id(GET_SHIP(c)))>=0&&ship_num<num_of_ships)
   sprintf(str, "%s", ship[ship_num].rank_name[GET_SHIP_RANK(c) -1]);
 else sprintf(str, "Unranked");

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