Re: Spec proc question

From: J Horn (jhorn@FUZZY.PI-INC.COM)
Date: 05/14/98


The number(0, 60) is a random number from 0 to 60.  If the number happens
to be 0, the mob says "My god! It's full of starts!", if it happens to be
1, the mob says "How'd all those fish get up here?" and so on.  The
randmoness is so the mob will not continually loop through over and over
and over and over and over, but you get the point.

-j

On Thu, 14 May 1998, Ryan Stucl wrote:

> Ok heres puff
>
> SPECIAL(puff)
> {
>   ACMD(do_say);
>
>   if (cmd)
>     return (0);
>
>   switch (number(0, 60)) {
>                  ^^^^^
>                  |||||
>   what are the 0, and the 60 for. i know its for time but how much time?
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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