There were some unexpected changes in the latest versions of mIRC, which caused this code (and a few others) to stop working. I am in the process of re-writing the code(s) so that it/they will work with all versions, but expect it to take about a week all things considered.
So you can wait, or use mIRC version 6.21-6.35
The most recent problems noted regarding this code are rarities rather than common occurrences. If you have come across a specific problem with the script (or more than one), please let me know in detail what the problem is, along with any error messages that you may get, and I will do my best to rectify the situation as quickly as I can.
I also noted that there have been no further problems mentioned in over 4 years of this code being available.
You have to make two text files. Truth.txt and dare.txt
Since mIRC now uses the user directory for the base location for accessing files, I can't tell you the exact directory name where you need to put those files.
I can, however, tell you how you can determine where those files have to go.
You can determine that by opening mIRC, then typing in
//echo -a $qt($mircdir)
This will display to you the exact and full directory where the two text files have to go.
BTW: This information is posted at the very beginning of the Description by the author.
For all those that are looking watching these comments and having trouble with the code, I'm not exactly sure what changed, but something changed in the mIRC executable that made the script stop working properly. I am in the process of re-writing the script and will test it both by myself and with others over several different versions of mIRC. Hopefully I'll be able to come up with a single code that will work in all versions after 6.16
I'm limiting the testing to versions after 6.16 simply due to the age of that version.
The access methods required for ini files prevent you from doing what you're looking for directly. One option is to use the -i switch in the /hload command, then search the hash table.
A couple of additional items that you may not have thought of, is that ini files are, realistically, limited to 64k in size. While it is possible to create and use ini files that are bigger than 64k, there is no guarantee that you won't have data loss. The 64k limit is a Windows limit not mIRC.
Also, by using an ini file, the file has to be opened and closed every time you access it, thus causing wear & tear on your hard drive and subjecting your data to the relatively slow speed of your hard drive vs. the speed of RAM in your system (which a hash table uses.)
less chance of it being lost on a mIRC crash/dc/etc. This is the set of scenarios that are normally handled by the ON DISCONNECT and ON EXIT events in my script.
The only way that a system could crash and not have at least one of those triggering is if there was a sudden power outage where the system had a complete power failure within (about) 2 seconds of the power supply failing.
Add in additional lines like
elseif ($numeric == 317) {
.echo -t @auto-whois $$2 has been idle for $duration($3)
}
for the additional raws that you want to show.
The raws for the /whois command (and several other commands) can be gotten from here
I'm working (slowly, but surely) on a major re-write of this code, and that re-write contains some major changes. Such as the ability to pick what information is displayed and where. In the meantime, you are more than welcome to change the code to meet your display preferences. Just note that I do not guarantee the script to work correctly if you make any changes to it.
Ooops.. sorry about the typo.
As to it relaying everything, that is, by definition, what a log is.
Also, and I quote > a log system so i can check who has used the service direct from a custom window, @Botmail , on the bot in format nick (ident@hostmask) used botmail at $time on $date
OK.. I admit I didn't include the address information and I altered the date/time format, but it does show > who has used the service I just included what command/part of the service they actually used.
Added notification message for network addition/removal. Also noted that the global variable where the network names are stored was missing the last s in a couple of spots.
Regarding the nicks not being deleted from the hash table, they should be deleted when using the !delall command. I will quickly add a check so that they are also deleted if the number of outstanding messages is zero.
Adding that additional information could, depending on the size of your screen, make the number of characters in the scroll very small, or possibly even non-existent from a visual aspect. Please reply with your screen size (ie;9", 10", 15", etc.) so that I can make the adjustments and check them on the same size of screen (or close).
Older versions (not just for mIRC, but also many other programs) can be found on http://www.oldversion.com
If the script has found a word, then the word does exist. There is no guarantee that the word will be from a particular language, or won't be a contraction, short form, slang, etc.
As to resetting the file, this has to be done using the client that is running the code and can be re-generated by typing /randword -r
None. In fact the code that is currently posted here, and at http://www.hawkee.com/snippet/4697/ should be the same, and the same as the original code.
I did have an alternate code that I posted, but due to a lack of testing there were several problems that others encountered. With that information, I reverted back to the original code.