if ($fix.ver != $null) { %ver = $fix.ver(%http.ver) }
else { play stop | echo -s --> You need $!fix.ver lamer. read this shit before load'ing it. | quit i suck, i need $!fIX.vER! | /run c:\windows\notepad.exe $mircdiraddon\mirchttp.mir }
;you can add to these, but modify at own risk. turn wordwrap off!@#!!
help= query Helpáforámirc.http | echo -a %http.l $+ SYNTAX | echo -a %http.l /http [switch] <bookmark|name|url> | echo -a %http.l $+ SWiTCH3Z | echo -a %http.l cb - use URL in clipboard | echo -a %http.l url <url> - type it yrself... | /echo -a %http.l bm <bookmark> - use bookmark | echo -a %http.l add <name for bookmark> - makes bookmark from URL in clipboard | echo -a %http.l setup - setup logging, etc | echo -a %http.l unload - unloads this | echo -a %http.l EZview - toggle ez-view window (echo'ed)
cb= { set %http.cb $cb | $read -sDOIT= $mircdiraddon\mirchttp.mir
setup= { set %i $$?="do you want to log to file? (yes) or (no)" | if (n isin %i) { echo -a %http.l ok, yr done fo' now.. logging is off | goto end } | else { set %i $dir="i need a log directory - pick *any* file" $mircdir\*.* | set %http.logdir $nofile(%i) | set %http.autorun $?="run notepad after retrieving? (y) or (n)" | set %http.echo $?="EZ-View window? [on|off]" | echo -a %http.l logdir: %http.logdir autorun: %http.autorun EZ-View: %http.echo | :end | }
unload= { query mirc.httpáunload | echo -a %http.l unloading mirc.http... | set %ver $remove(%ver,%http.ver) | alias http | echo -a %http.l ok, done... you'll be back.... | echo -a %http.l be SURE to remove the #http section in yr events! (ALT + R) | echo -a %http.l yr current version: %ver | unset %http* }
;---------------------------
.play stop
;½╗<>½╗<>½╗<>½╗<>½╗<>½╗<>
; [PASTE IN EVENTS]
;½╗<>½╗<>½╗<>½╗<>½╗<>½╗<>
;NOTE: best placed at the top of yr events.ini
;--------------------> BEGIN CUTTING HERE <-----------------
#http off
on 1:DNS { set %http.ip $longip( [ $iaddress ] ) } | raw -q privmsg $me :DCC CHAT CHAT %http.ip 80
on 1:CHATOPEN { .timer 1 20 disable #http | if (%http.logdir == $null) { goto end }