danyelsky / evolvemod

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

groups instead of names #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Allow the use of rank names as well as names e.g.

!give VIPS <weapon>

This can be extended to just globally recognised sets such as ALL and ADMINS

Original issue reported on code.google.com by krash....@gmail.com on 19 Sep 2010 at 8:48

GoogleCodeExporter commented 9 years ago
What if someone is called VIPS?

Original comment by overv161@gmail.com on 22 Sep 2010 at 4:04

GoogleCodeExporter commented 9 years ago
Maybe use an asterix to donate the start of a set name, e.g. *ALL.

If in the off case someone has a name with *VIPS, *ALL and the admin for some 
reason typed it like that but meant a person, doesn't the mod automatically 
ask: multiple users found, did you mean <person1> or <set1>.

It sounds unlikely that is someone had *ALL or *VIPS in there name, an admin 
would type it like that, when they could easily just type all or vips.

Original comment by krash....@gmail.com on 22 Sep 2010 at 5:21

GoogleCodeExporter commented 9 years ago
you could make it *vips and have it see if it has the * then do the group but 
if it dont then do the name but if the person is named *vips then have group 
take priority

ex

player 1 *Vips                     rank guest
player 2 Darkasassin07      rank Vips

Darkassassin07: !slay *Vips
[EV]: Darkassassin07 Slayed all Vips
Darkassassin07: !slay vips
[EV]: Darkassassin07 Slayed *Vips

Original comment by Darkassa...@gmail.com on 6 Jan 2012 at 2:36