This is a snippet off the WWW
in here it uses refrences to a local_buf which isn't defined anywhere.
Can anyone tell me where local buf is defined and how it should be
defined, I tried a few things to no avail.
+ if (IS_NPC(victim)) {
+ local_gold = GET_GOLD(victim);
+ sprintf(local_buf,"split %ld", (long)local_gold);
+ }
die(victim, ch);
+ if (IS_AFFECTED(ch, AFF_GROUP) && (local_gold > 0))
+ if (PRF_FLAGGED(ch, PRF_AUTOSPLIT))
+ command_interpreter(ch, local_buf);
---------------------------------------
|from: John C. A. Bambenek & |
| Christina M. Drummond |
|bambenek@alecto.physics.uiuc.edu |
|http://www.physics.uiuc.edu/~bambenek|
|--------------------------------------
This archive was generated by hypermail 2b30 : 12/07/00 PST