On Fri, 14 Feb 1997, Elvis Mohan wrote: > I would like to know how to implement the > gossiping of socials... I have seen this on other MUDs > where someone types "gossip @(social)" and its displayed > over the gossip channel... > > Can anyone help ? Sure! Load up act.comm.c, find do_gen_comm, and add a check to see if the SCMD is SCMD_GOSSIP and *argument == '@'. If it is, call do_action(ch, argument+1, 0, SCMD_GOSSIP); and add a check in do_action for SCMD_GOSSIP, so you can redirect output back to do_gen_comm. Simple, eh? Sam +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | | Or send 'info circle' to majordomo@cspo.queensu.ca | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST