Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Search through all log files for text and return the results in a custom window
- ; Syntax: /searchlogs [text]
- ; If [text] is not specified on the line, you will be asked for it.
- ; WARNING: Liable to cause mIRC to hang for a few seconds.
- ; Note: Output will be sorted by file order, not by date/time.
- alias searchlogs {
- var %s% $$iif($1-,$1-,$input(Enter Search Term:,e,Search logs)), %w% $+(@Search,$chr(160),Results)
- $iif($window(%w%),clear $v1,window -ek0d %w%)
- noop $findfile($logdir,*,0,filter -bpfw $qt($1-) %w% * %s% *)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement