Re: Random Msg

From: Brett Williams (OKJinx@AOL.COM)
Date: 09/03/98


It'd be easy .. just place all u want for random msgs in an array ...

const char *typo_msg[] =
    "Hahah! No...\r\n",
    "A typo demon snatches your typo.\r\n";

I believe? or something like that ... then just go::

typo_msg[number(0, number of msgs in typo);

Okay,
    JinX


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