Re: Code

From: Mike Stilson (
Date: 09/12/02

On Thu, Sep 12, 2002 at 06:29:18AM -0700, Thomas Larsson wrote:
>SYSERR: Mob using
>'((ch)-)player_specials-)saved.pref)' at
+    if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))

>The second thing i need help on is how do i set up the
>mud so new people dont have to type autoexit and color
>complete, but its already on when they create a new
>char ?

autoexits are fine, but I really recommend against color.  slow
conenctions don't like them, some old clients don't display them right
(if at all) and even some others actually print the esc sequence which
looks liks $hit.

But, just add whichever bits you want in init_char().
(Find the bits from whichever command you want to automatically use.)

For color, it's really a better idea to just add a new question/state to
nanny() for something like "Do you want ansi color?" and enable it there
if they want it.

>The third and last thing: When the mud crashes it just
>hangs until i come home and click ok in the window
>that pops up, any way to awoid this ?

Uh, this was just answered yesterday or the day before.


   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT