mIRC On The Fly Version Changer v2.05
   Copyright ©2000-2001 danielson
   danielson@olynet.com


To Install
   Extract motfv.mrc and motfv.dll in the same directory
   go into mIRC and load motfv.mrc (/load -rs <path of motfv.mrc)



This documentation will be short and sweet, this dll is extremely easy to use.

Step 1 - Load the dll

To load the dll
    type //echo 4 $dll(mOTFv.dll,Load,0)
        This will load the dll into memory, and initialize it, when you call this command it sets up everything
        and is monitoring incoming/outgoing packets waiting for the Mark. Chances are if Load returns OK
        unless you called something in the wrong order, everything will work.
            Possible Results:
	
	OK - Load Successful

	ERROR 1 mOTFv Already Loaded! - You've loaded the dll more than once

	ERROR 100 mOTFv Unable to create Session - The hooking API couldn't create a session (low on memory?)

	ERROR 101 mOTFv Hooking of one or more functions failed - Couldn't hook functions (no permission/corrupt)


To Mark the socket
   type //echo 4 $dll(mOTFv.dll,Mark,0)
      This will mark the socket that you're connected to the IRCD with, note if it returns $null this is normal
      it is actually returning data, but instead of returning it to the script, is forcing mIRC to execute the data
      infact the data it sends is the following: $iif($server != $null,.raw -q MARK <variable hex number>).
      As long as you are connected to a socket via mIRC, it will send, if not, nothing happens it's okay
         Possible Results:

	$null - Mark Successful  -or-  Not online

	ERROR 2 mOTFv Not Loaded! - You didn't call Load

To Set the version
    type //echo 4 $dll(mOTFv.dll,SetVersion,<the reply you want>)
       This will store the version information you would like mIRC to reply with. You can call this several times
       if you've already set a version, it will merely overwrite the old one. Note, since mIRC isn't faking the version
       inserting identifiers such as $nick will not evaluate AT RUNTIME. However, just like in any other mIRC function
       you can pass $me etc.. as an evaluated parameter. I'm considering adding basic support for a few identifiers like
       $me/$nick etc...
          Possible Results:

	OK - Version set

	ERROR 2 mOTFv Not Loaded! - You forgot to call load

	ERROR 3 mOTFv Not Marked! - You forgot to call Mark


To Unload the dll
    type //echo 4 $dll(mOTFv.dll,Unload,0)
       This will unload the dll, it's pretty straight-forward
          Possible Results:

	OK - Unloaded

	ERROR 2 mOTFv Not Loaded! - It's not loaded


To Retrieve version information
   type //echo 4 $dll(mOTFv.dll,DLLInfo,0)
      This will retrieve current version information, for your
      copy of the dll. It has no errors, and just returns version
      information
	  

