HlLogSearch (v1.0)
|
PDF |
| | |
|
Search Half-Life server logs.
| |
| | |
The plugin allows to search Half-Life server logs, featuring simple search,
case insensitive search, regular expression search and limiting the date
range of searched files. For this to work the log files must be in a
directory accessible by the bot.
The configuration file for this plugin is
system/FeedReader/HlLogSearchConfig.xml
The min. auth level to use this plugin.
<authLevel>ADMIN</authLevel>
Command to search the logs.
<commandLogs>!logs</commandLogs>
Directory containing the logfiles.
<logDir>/usr/local/hlds/logs</logDir>
Max no. of search results sent back.
<maxResults>15</maxResults>
Command: !logs [-d date] [-e] [-i] <query>
Description: Searches half-life server log files for <query>
Auth level: ADMIN
Where to give command: channel or private message
Outputs to: notice to sender
Options:
-d date Limit the range of logfiles to search. Format is MM[DD]. Defaults to current date.
-e query is a
regular expression
-i case insensitive search
Example(s):
- !logs blah
- !logs -i blah
- !logs -d 12 banid
- !logs -e (<TERROR>.*killed.*<TERROR>)|(<CT>.*killed.*<CT>)
v1.0 |
First Version by jawe |