-
Notifications
You must be signed in to change notification settings - Fork 0
@search
@search
command: @search [<player>] [<class>=<restriction>[,<low>[,<high>]]]
displays information about objects that meet the search criteria. because this command is computationally expensive, it costs 100 coins. <player> restricts the search to the named player, while <class> and <restriction> control the objects listed. type 'help search classes' for a list of the classes you may use.
except when getting lists of players ('@search type=player' or '@search flags=p'), you may only search for objects that you own. you may limit the range of the search with <low> and <high>, which specify the objects to start and stop the search at, respectively. the default for <low> is #0 and the default for <high> is the last object in the database.
examples: @search flags=pwc <-- search for connected wizards. @search type=room <-- list all rooms owned by me. @search eval=gt(money(##),10) <-- search for things worth more than 10. @search type=room,100,300 <-- rooms between #100 and #300, inclusive @search object=test,5000 <-- things starting with test from object #5000 to the end of the database. related topics: @find, search().