Re: Help returning a value.

From: Mathew Earle Reuther (graymere@zipcon.net)
Date: 07/09/02


> Perhaps this snippet will help.  I slightly modified one of the "whois"
> commands available out there for my needs (sorry I don't have my notes here
> to credit the original author).  Also in class.c (stock) there is a set of
> case statements that do this out of the box.  You would then add the
> appropriate output to act.informative.c in do_score().

What I ended up doing was making sort of a message list similar to that
used in a percent_exp snippet.  Now my do_who and such call the
appropriate function which returns a message based upon the level of the
character in question.  It's probably ugly and inefficient, however it
does work, and I can work on new things now. :)

-Mathew

--
   +---------------------------------------------------------------+
   | 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