Finding the Files to Modify

Top  Previous  Next

With big mirc add-ons that use many script/ini files, you will want to use a util that can search files for text.  Take care that you dont end up applying this fix to the mircryption.mrc file itself, as that would disable mircryption.

 

Sample instructions for making incoming text modifications using Ultraedit (similar procedures could be used for other searchers/text-editors):

1.From Ultraedit, select Search->Find In Files
2.Select radio button that says "Search In: Files Listed"72
3.Then from find dialog, enter the following values for the fields:
    Find -> :text:
    In Files/Types -> *.ini;*.mrc
    Directory -> [browse to the root directory of your existing script]
4.*Clear all check boxes accept Search Subdirectories
5.Click Find to search for files.
6.The find dialog will close, and the search results will show up at the bottom of your ultraedit window.
7.Now look for search results containing "on *:text:*:"  you can usually ignore lines that only match certain text like "on hello*:text:*", as those will not trigger on mircryption text.
8.Note that many of the entries may have no effect, but its hard to tell which one without fixing them all.
9.Double click on the search result line containing the :text: and after the last : insert the text
               if ($halted) return |
as shown in the previous section.  Save the file and repeat for other scripts. note that it is not uncommon to have multiple :text: lines within one file.

10.        IMPORTANT: Now repeat from #3-9 using :action: instead of :text:, then do for :chat: and :notice: and :input:

 

You can do the same for :topic: which will bypass your default topic reporting when encrypted topics are received, leaving only decrypted topic message by mircryption.

(Skip this if your other script prints extra info on topic changes that you want to keep even for encrypted topics).