Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1998:
Re: [Freeciv] Re: [Freeciv-Dev] patch to allow more : on chatline
Home

Re: [Freeciv] Re: [Freeciv-Dev] patch to allow more : on chatline

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rp@xxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv] Re: [Freeciv-Dev] patch to allow more : on chatline
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Wed, 16 Dec 1998 21:45:30 +1100

Reinier Post wrote:
> 
> Well, 'foo: withdraw!' and 'foo:withdraw!' are likely to be used
> for private messages; 'foo :withdraw' is not.  Too many messages
> are treated as private to nonexistent players.  This is an easy
> way to rrule out a particular category.

Ok, how about this:

- if there is ':':
  - if it matches one player unambiguously, send to that one player
  - if it matches several players ambiguously, complain
  - if some heuristics apply (':' first on line, or space anywhere
     before ':') then treat as global message
  - else complain (might be a malformed private message)
- else send globally

-- David


[Prev in Thread] Current Thread [Next in Thread]
  • Re: [Freeciv] Re: [Freeciv-Dev] patch to allow more : on chatline, David Pfitzner <=