Re: Admin Ooc/Ic

From: Tony Robbins (tonyr@NWPACLINK.COM)
Date: 07/09/98

At 12:53 PM 7/9/98 -0400, you wrote:
>I have considered splitting public channels into an OOC/IC type of thing,
>but have a feeling that ooc would become gossip, and IC would become

While I _PLAN_ on doing penalty/reward, it would typically be if you play
in the role-play environment, you can participate in immort. controlled
quests, while maybe those who don't role-play would be penalized there.

If you don't want to make OOC like gossip, do something like this.

#define a PRF_OOC (rather than no-ooc) in structs.h
add the the array in constants.c
in interpreter.c, down where there's the send_to_char("Huh?!?\r\n"...), put
above there
* NOTE : complete_cmd_info is if you're using the AEDIT patch.  Otherwise,
just cmd_info *
if (PRF_FLAGGED(ch, PRF_OOC) && !is_abbrev(complete_cmd_info[cmd].command,
"OOC")) {
  send_to_char("You are currently out of character.  Type IC to toggle back
into character.\r\n", ch);
  return;   /* I'm not looking at interp.c right now, *
             * so this may not need to be there, I    *
             * can't recall how theblock of if checks *
             * are set up down there.                 */

Add an SCMD_IC or such to the do_gen_tog part of interpreter.h's subcmds.
Add something to interpreter.c like { "ic" , "ic" , do_gen_tog,
Modify do_gen_tog in act.?other?.c and have it toggle the PRF_OOC on and off.
Add a new channel (or modify gossip since it would be a very non-RP global
channel) to send to only those with the OOC flag set.  Matt Roach provided
instructions on adding an IC global channel to the snippets site, so that
could be used as a basis if you are not familiar with the code.

Anyway, this means that OOC is only valuable when both you and the people
you are trying to talk to are set as OOC.  Make the flag appear on who, or
do something similar to wiznet @ to see who is set OOC.  It'd be easiest to
duplicate wiznet for a channel like this, but that's cheating.  :P  If a
player is flagged OOC, they cannot be attacked, stolen from, etc (if you
put in some checks, possibly to get_player_in_list_vis or
get_player_vis...), but they can use this out-of-char global channel.
Don't let them be hackin' and slashin' and gossip away at the same time.

But I ramble.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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