Re: [Code] ASSIGNMOB() function

From: Roger Smith (sexycoder@HOTMAIL.COM)
Date: 10/16/98


I would like to know how to assign a spec to a mob using a command
online, but I haven't had any success.

For example: assignmob 1200 receptionist

I don't know how exactly to convert a char into a SPECIAL().

Basically I'm asking:
How do I turn "receptionist" into SPECIAL(receptionist) without using a
lot of if-statements?

The funtion is in spec_assign.c:
void ASSIGNMOB(int mob, SPECIAL(fname));

Thanks.
-Roger

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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