tell.h

./lib/include/fn/tell.h · 426 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

#ifndef TELL_H
#define TELL_H

/***************************************************************************/
/* tell_objects */

varargs void tell_objects(object *who, string str, object *reject) { 
  int i; 

  if(!reject) reject = ({});
  for (i = 0; i < sizeof(who); i++) { 
    if(who[i] != this_player() && member_array(who[i],reject) == -1) { 
       tell_object(who[i], str); 
    }
  } 
} 
   
#endif /* end TELL_H */

Site Stats

Snippets: 1791
Codebases: 571