Auto script-file text locator
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | Nov 17, 2009 |
| Last Updated | Nov 17, 2009 |
Description
This code searches all loaded *.mrc files for the search string.
If the search string is found, each occurrence of the search string,
along with the file name and line number, is displayed in a custom window.
Furthermore, double-clicking a line in the custom window will automatically
open the corresponding script file and place the cursor at the beginning of
the line containing the search term.
I also use similar code to list every occurrence of an alias, which I find
particularly useful in debugging.
I hope it works OK for others.
If the search string is found, each occurrence of the search string,
along with the file name and line number, is displayed in a custom window.
Furthermore, double-clicking a line in the custom window will automatically
open the corresponding script file and place the cursor at the beginning of
the line containing the search term.
I also use similar code to list every occurrence of an alias, which I find
particularly useful in debugging.
I hope it works OK for others.
mIRC Snippet:
Auto script-file text locator
Posted on Nov 18, 2009 1:53 am
Posted on Nov 18, 2009 1:53 am
It wouldn't hurt to have the script search through *.ini files as well... as some users tend to save their scripts with that extension. I'm a tad too lazy to look at the actual functionality of the code, but as far as looking clean goes: not too bad, though I'd advise against use of "|".
mIRC Snippet:
Auto script-file text locator
Posted on Nov 18, 2009 12:19 pm
Posted on Nov 18, 2009 12:19 pm
^
mIRC Snippet:
Auto script-file text locator
Posted on Nov 18, 2009 12:19 pm
Posted on Nov 18, 2009 12:19 pm
and /me pee's on p0tat3rs
:D
:D





