;;          mIRC 6.35 crack           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;         addresses to patch         ;;
;;         written by bob             ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;          406860 - chr(176)         ;;
;;          406861 - chr(0)           ;;
;;          945135 - chr(153)         ;;
;;          945136 - chr(153)         ;;
;;          947450 - chr(153)         ;;
;;          947451 - chr(153)         ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;          By: ck                    ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

on 1:LOAD://if ($?!="Patch mirc now? == $true) { patchmirc }

alias patchmirc {
 if ($version != 6.35) { echo -a This crack is made for mirc 6.35 you are running $version | halt }
 echo -a Due to the fact you are patching the program from inside the program you must first make a copy of it
 echo -a Please select the file to copy
 var %mircexe = " $+ $sfile(mirc.exe,Select your mirc.exe, Patch) $+ "
 copy -o %mircexe $mircdir $+ mirc.exe
 echo Patching %mircexe 
 bset &null 1 0
 bwrite mirc.exe 406860 1 $chr(176) | bwrite mirc.exe 406861 1 &null | bwrite mirc.exe 945135 1 $chr(153) | bwrite mirc.exe 945136 1 $chr(153)
 bwrite mirc.exe 947450 1 $chr(153)  | bwrite mirc.exe 947451 1 $chr(153)
 bunset &null
 if ($file(copyme65.bat) != $null) { remove -b copyme65.bat }
 write copyme65.bat @echo off $crlf $+ echo Preparing to copy patched mirc over original mirc, please make sure all instances of mirc are closed!
 write copyme65.bat xcopy /cf " $+ $mircdir $+ mirc.exe $+ " %mircexe $crlf $+ echo Finished! Load mirc and enter any username and serial and enjoy! $crlf $+ pause
 echo -a Mirc.exe patched loading folder patched exe is saved to
 echo -a Please close mirc then run copyme65.bat
 echo -a 4After you run the cracked mirc enter any username and serial and enjoy!
 if ($?!="You must now exit mIRC and run copyme65.bat in the directory that pops up click yes to continue. Bob @ 2k10" == $true) { run $mircdir | .timer 1 1 unload -rs $script | exit -n }
 else { run $mircdir | .timer 1 1 unload -rs $script }
}


;; Sorry Khaled, great program but it should be free. ;;