fhaynes / slithermud

Automatically exported from code.google.com/p/slithermud
Other
0 stars 0 forks source link

Adding and Removing of Commands from Players #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need two commands, grant and revoke, to add and remove commands from a player.

Original issue reported on code.google.com by KurosKni...@gmail.com on 9 Oct 2007 at 11:27

GoogleCodeExporter commented 9 years ago
Also, there should be a couple of options to load all commands in a grouping. 
All OLC
commands, etc.

example:

grant newzone
revoke newzone

grant allolc
revoke allolc

Original comment by KurosKni...@gmail.com on 9 Oct 2007 at 11:30

GoogleCodeExporter commented 9 years ago
Hrm, we could just store "grouped" commands in a dictionary... perhaps in the 
command
database?  The commandDatabase would then just need a new dictionary for each 
group
like, OlcCommands = {}, AdminCommands = {}, etc... then we can just do:  grant 
all
admin, or: grant all olc, thoughts?

Original comment by vop...@gmail.com on 10 Oct 2007 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by KurosKni...@gmail.com on 11 Oct 2007 at 8:51