> From: Homer Simpson <fcolvin@metz.une.edu.au> > > ######## > # Code # > ######## > > > ACMD(do_search) > { > byte percent; > struct obj_data *obj; > int roll = 20; > > if (IS_DARK(ch->in_room) && !CAN_SEE_IN_DARK(ch)) > send_to_char("It's too dark to search for anything!\r\n", ch); > else if (IS_AFFECTED(ch, AFF_BLIND)) > send_to_char("Your blind, how can you search for anything?\r\n", ch); > else { > for (obj = world[ch->in_room].contents; obj; obj = obj->next_content) { > if (IS_SET(obj, ITEM_HIDDEN) { ^ | you forgot to put a ')' here. -Johan +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST