Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] 'cmdlevel first' patch (PR#296)
Home

[Freeciv-Dev] 'cmdlevel first' patch (PR#296)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] 'cmdlevel first' patch (PR#296)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Tue, 7 Mar 2000 13:36:49 -0800 (PST)

This patch (created against a Mar 6 CVS update) implements a new option
to the cmdlevel command:

  cmdlevel <level> first

sets the command level for new players connecting at a time
when nobody else is connected.

Demo:

> cm ct f    
No player by the name of 'f'.
> cm ct first
default command access level set to 'ctrl'
> cm in
Default command access level set to 'info'.
> cm
Command levels in effect:
Command level for new connections: info
Command level for first connections: ctrl
> 

Purpose: allow IRC-style 'operator status' handling; the first
person to arrive gets control.

(In order to match IRC even closer, we could place the 'cmdlevel'
command at 'ctrl' level, so operators could hand out their status
to others - but if you have ever been on IRC longer than 10 minutes,
you know this is a bad idea.)

-- 
Reinier Post

Attachment: freeciv-mar6+firstlevel.diff-Nurd
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]