> if (!cmd && !number(0, 5)) {
> do_action(recep, NULL, find_command(action_table[number(0, 8)]), 0);
> return (FALSE);
this just makes the receptionist do an action (from the list above it).
'do_action' is the way that actions are called.
> Also.. should I keep action_table as const or change to static?
it shouldn't make a difference really.
ae.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT