Snippets Project Page
Author: entropy
Added: 5y
Updated: 4y
mIRC: Unknown
Hits: 1,089
Downloads: 6
Review: entropy
Size: 425B
1 0
Login to vote.
InFiles
v1.2
First param: C:\path\to\files\, second: *.php, third: *wildcard*
Example: /infiles C:\path\to\files\ *.php *wildcard*
Searches through all the *.php files in the supplied directory for *wildcard*
Download
JSON
▲ Review
▼ Source
; InFiles v1.2 - by entropy 2019 alias infiles { if ($3) { echo -ag * Searching through files for: $qt($3) $+ ... var %a = 1, %found = 0, %b while ($findfile($1,$2,%a) != $null) { %b = $v1 if ($read($qt(%b), wn, $+(*,$3,*))) { inc %found | echo -ag * %found $+ ) $qt($nopath(%b)) line: $readn } inc %a } echo -ag * Found: %found result(s) } }
Changelog:
0
0