Re: [CODE][Newbie]for loops and perform_give

From: Brian Williams - Nashak (bmw@efn.org)
Date: 12/22/96


int obj=<some vnum>;
act("$N gives you an item.", 0, ch, 0, mob, TO_CHAR);
obj_to_char(read_object(obj), VIRTUAL);
or something like that
On Sun, 22 Dec 1996, Peter Hartman wrote:

> ok two questions actually.
> First:
> this is pretty inefficient:
> for (p=0; p<50; p++)
>  p++; 
> 
> all i wanna do is make the talker pause a little before saying her next
> sentence.  Any ideas on a more efficient way?  Thanks.
> 
> secondly:
> Havent looked that hard but i can't find the function to have a mobile
> give something to someone.  Thanks for any help there.
> 
> Preciate the list.
> 
> wart
> -- 
> *-=-=-=-=-=-=-=* w0nderful *-=-* w0rld *-=-* 0f *-=-* wart *-=-=-=-=-*
> hartman@kuntrynet.com
> wart@trilidun.kuntrynet.com
> http://trilidun.kuntrynet.com
> Eudaemonia Mud: 207.40.85.11 Port 4000
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 

        /---------\      /--------/
       / /XXXXXXX\ \    / ////// /
      / ///XXXXX\\\ \  / ////// /
     / /////XXX\\\\\ \/ ////// /    -=-=-=-=-=-=-=-
    / //////  \\\\\\\  ////// /    Brian Williams
   / ////// /\ \\\\\XXX///// /    bmw@efn.org
  / ////// /  \ \\\XXXXX/// /
 / ////// /    \ \XXXXXXX/ / /\  /_ |_|  /\  |/
/--------/      \---------/ /--\  / | | /--\ |\

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST