mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 14:56:30 +01:00
Updated some comments to make them a little more clear.
This commit is contained in:
parent
0980408e1c
commit
836a2e6fc3
1 changed files with 4 additions and 3 deletions
|
|
@ -123,7 +123,9 @@ def list_search_object_namestr(searchlist, ostring, dbref_only=False, limit_type
|
|||
|
||||
def player_search(searcher, ostring):
|
||||
"""
|
||||
Combines an aias and local/global search for a player's name.
|
||||
Combines an alias and local/global search for a player's name. If there are
|
||||
no alias matches, do a global search limiting by type PLAYER.
|
||||
|
||||
searcher: (Object) The object doing the searching.
|
||||
ostring: (string) The alias string to search for.
|
||||
"""
|
||||
|
|
@ -171,8 +173,7 @@ def object_totals():
|
|||
def alias_search(searcher, ostring):
|
||||
"""
|
||||
Search players by alias. Returns a list of objects whose "ALIAS" attribute
|
||||
exactly (not case-sensitive) matches ostring. If there isn't an alias match,
|
||||
perform a local_and_global_search().
|
||||
exactly (not case-sensitive) matches ostring.
|
||||
|
||||
searcher: (Object) The object doing the searching.
|
||||
ostring: (string) The alias string to search for.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue