> if(*pointer == '{') /*this "{" is infact the color pointer on my mud*/
> {
> pointer++;
> bufin++;
> if(*pointer == 'z') /*blinking text reserved*/

This is why.  The if statements that are to different letters are to remove
only certain types (in this case clear screen, blinking and beeping). If you
want to remove ALL color, then set it to strip the second character
following a { no matter what it is.

And if you need help with that, here's the code.

  if(*pointer == '{')
  {
   *bufin = ' ';        /*remove {*/

   pointer++;
   bufin++;

   *bufin = ' ';        /*remove following char*/
  }

Say a mortal enters

' {Bblue '

It will send this to the game:

'   blue '

Still working on how to remove the chars without the added spaces.

~Tandon


Reply via email to