Jump to content

Haggis

Members
  • Posts

    400
  • Joined

  • Last visited

Everything posted by Haggis

  1. Woohooo i got it working lol obviously not all my own work alias takess { noop $dll(c:\Program Files\mIRC\mirc ss.dll, takess, 100 %file) } alias ss { msg # setting filename set %file c:\screenshots\desktop $+ $rand(1,10000) $+ .jpg msg # taking screenshot takess msg # trying to upload share %file } alias /share { if $1 = $null { %sharing_file = $$msfile($$msfile(C:\)) } if $1 { %sharing_file = $1- } %tempsockname = imageshack_drone $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) $+ $rand(0,9) echo 7 Opening initial connection... sockopen %tempsockname www.imageshack.us 80 sockmark %tempsockname filename= $+ %sharing_file ; unset %sharing_file unset %tempsockname } on 1:sockopen:imageshack_drone*:{ bset -t &postdata 1 -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="uploadtype" $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) on $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="fileupload"; filename=" $+ $nopath($gettok($mid($sock($sockname).mark,11),1,59)) $+ " $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Type: image/jpeg $+ $crlf $+ $crlf bread " $+ $gettok($mid($sock($sockname).mark,10),1,59) $+ " 0 $file($gettok($mid($sock($sockname).mark,10),1,59)).size &file_contents bcopy &postdata $calc($bvar(&postdata,0) + 1) &file_contents 1 -1 bset -t &postdata $calc($bvar(&postdata,0) + 1) $crlf $+ -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="url" $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) paste image url here $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="email" $+ $crlf $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="MAX_FILE_SIZE" $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) 13145728 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="refer" $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) http://imageshack.us/ $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="brand" $+ $crlf $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) Content-Disposition: form-data; name="optsize" $+ $crlf $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) 320x320 $+ $crlf bset -t &postdata $calc($bvar(&postdata,0) + 1) -----------------------------18762165517410-- sockwrite -nt $sockname POST / HTTP/1.1 sockwrite -nt $sockname Host: imageshack.us sockwrite -nt $sockname User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ko; rv:1.9.0.10) Gecko/2009042316 Frefox/3.0.5 sockwrite -nt $sockname Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 sockwrite -nt $sockname Accept-Language: en-us,en;q=0.8,ko-kr;q=0.5,ko;q=0.3 sockwrite -nt $sockname Accept-Charset: EUC-KR,utf-8;q=0.7,*;q=0.7 sockwrite -nt $sockname Keep-Alive: 1200 sockwrite -nt $sockname Connection: keep-alive sockwrite -nt $sockname Referer: http://imageshack.us/?no_multi=1 sockwrite -nt $sockname Content-Type: multipart/form-data; boundary=---------------------------18762165517410 sockwrite -nt $sockname Content-Length: $bvar(&postdata,0) $+ $crlf $+ $crlf echo 7 Sending file package... sockwrite $sockname &postdata } on 1:sockread:imageshack_drone*:{ sockread -f %lol if $mid(%lol,1,9) = location: { %lol = $mid(%lol,11) msg $active Uploaded to imageshack: http:// $+ $gettok(%lol,2,$asc(/)) $+ / $+ $gettok($gettok(%lol,2-,$asc(?)),3-,$asc(=)) unset %lol } }
  2. i have an upkload bit that works i am just trying to make it all automatic
  3. download this DLL i have submitted it for err0r Screenshot dll put it in your mirc folder and use this alias alias ss { var %file desktop $+ $rand(1,10000) $+ .jpg $dll(pathtomirc\mirc ss.dll, takess, $base(10,9,3) c:\screenshots\ $+ %file) } the $base(10,9,3) is the quality from 0 bad to 100 best currently its set to 100 this takes a screenshot and saves it in c:\screenshots\desktop213.jpg the 213 will be a random number now just to work out how to upload it
  4. This DLL lets you take screenshots http://www.mircscripts.org/comments.php?cid=3771 I am not sure how you would upload them i am guessing you would need to use sockets in some way which i have no knowledge of but i am sure err0r, travis etc will be along soon and will be able to help more also here is a link to a mrc file that allows you to upload to imageshack maybe between them we can all work it out lol http://files.codes-sources.com/fichier.asp...cimageshack.mrc
  5. Learn something new everyday
  6. [b]no i dont think so[/b]
  7. was not sure where to post this TABLE OF CONTENTS Introduction * What is BBCode? Text Formatting * How to create bold, italic and underlined text * How to change the text colour or size * Can I combine formatting tags? Quoting and outputting fixed-width text * Quoting text in replies Generating lists * Creating an Un-ordered list * Creating an Ordered list Creating Links * Linking to another site Showing images in posts * Adding an image to a post =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Introduction What is BBCode? BBCode is a special implementation of HTML. Whether you can actually use BBCode in your posts on the forum is determined by the administrator. In addition, you can disable BBCode on a per post basis via the posting form. BBCode itself is similar in style to HTML: tags are enclosed in square braces [ and ] rather than < and > and it offers greater control over what and how something is displayed. Depending on the template you are using you may find adding BBCode to your posts is made much easier through a clickable interface above the message area on the posting form. Even with this you may find the following guide useful. Text Formatting How to create bold, italic and underlined text BBCode includes tags to allow you to quickly change the basic style of your text. This is achieved in the following ways: To make a piece of text bold enclose it in Code: [b][/b] eg. Code: [b]Hello[/b] will become Hello For underlining use Code: [u][/u] for example: Code: [u]Good Morning[/u] becomes Good Morning To italicise text use Code: [i][/i] eg. Code: This is [i]Great![/i] would give This is Great! How to change the text colour or size To alter the color or size of your text the following tags can be used. Keep in mind that how the output appears will depend on the viewers browser and system: Changing the colour of text is achieved by wrapping it in Code: [color=][/color] You can specify either a recognised colour name (eg. red, blue, yellow, etc.) or the hexadecimal triplet alternative, eg. #FFFFFF, #000000. For example, to create red text you could use: Code: [color=red]Hello![/color] or Code: [color=#FF0000]Hello![/color] will both output Hello! Changing the text size is achieved in a similar way using Code: [size=][/size] This tag is dependent on the template you are using but the recommended format is a numerical value representing the text size in pixels, starting at 1 (so tiny you will not see it) through to 7 (very large). For example: Code: [size=1]SMALL[/size] will generally be SMALL whereas: Code: [size=7]HUGE![/size] will be HUGE! Can I combine formatting tags? Yes, of course you can; for example to get someones attention you may write: Code: [size=4][color=red][b]LOOK AT ME![/b][/color][/size] this would output LOOK AT ME! We don't recommend you output lots of text that looks like this, though! It could get confusing. Remember that it is up to you, the poster, to ensure that tags are closed correctly. For example, the following is incorrect: Code: [b][u]This is wrong[/b][/u] Quoting and outputting fixed-width text Quoting text in replies There are two ways you can quote text: with a reference or without. When you utilise the Quote function to reply to a post on the board you should notice that the post text is added to the message window enclosed in a Code: [quote=""][/quote] block. This method allows you to quote with a reference to a person or whatever else you choose to put. For example, to quote a piece of text Mr. Marcus wrote, you would enter: Code: [quote="Mr. Blobby"]The text Mr. Marcus wrote would go here[/quote] The resulting output will automatically add: Mr. Blobby wrote: before the actual text. Remember that you must include the quotation marks "" around the name you are quoting -- they are not optional. The second method allows you to blindly quote something. To utilise this enclose the text in Code: [quote][/quote] tags. When you view the message it will simply show: Quote: before the text itself. Generating lists Creating an Un-ordered list BBCode supports two types of lists, unordered and ordered. They are essentially the same as their HTML equivalents. An unordered list ouputs each item in your list sequentially one after the other indenting each with a bullet character. To create an unordered list you use Code: [list][/list] and define each item within the list using [*]. For example, to list your favorite colours you could use: Code: [list] [*]Red [*]Blue [*]Yellow [/list] This would generate the following list: * Red * Blue * Yellow Creating an Ordered list The second type of list, an ordered list gives you control over what is output before each item. To create an ordered list you use Code: [list=1][/list] to create a numbered list or alternatively Code: [list=a][/list] for an alphabetical list. As with the unordered list items are specified using [*]. For example: Code: [list=1] [*]Go to the shops [*]Buy a new computer [*]Swear at computer when it crashes [/list] will generate the following: 1. Go to the shops 2. Buy a new computer 3. Swear at computer when it crashes Whereas for an alphabetical list you would use: Code: [list=a] [*]The first possible answer [*]The second possible answer [*]The third possible answer [/list] giving 1. The first possible answer 2. The second possible answer 3. The third possible answer Linking to another site Code: [url][/url] for example: Code: [url]http://www.phpbb.com/[/url] Showing images in posts Adding an image to a post phpBB BBCode incorporates a tag for including images in your posts. Two very important things to remember when using this tag are: many users do not appreciate lots of images being shown in posts and second, the image you display must already be available on the Internet (it cannot exist only on your computer, for example, unless you run a webserver!). There is currently no way of storing images locally with phpBB (all these issues are expected to be addressed in the next release of phpBB). To display an image, you must surround the URL pointing to the image with Code: [img][/img] tags. For example: Code: [img=http://www.phpbb.com/images/phplogo.gif]
  8. looks cracking err0r would like to have a shot of this
  9. i am with www.one.com never have any problems never had any downtime that i have noticed cheap as chips too
  10. Welcome every one, not sure how i mnissed this post lol
  11. I remember helping you telnet into your router lol
  12. this ones a little better
  13. JOhnson Use what browser you feel comfortbale using there are many choices but people should not be pushing a specific one on anyone here are some IE* (which you have) Firefox Chrome Opera Konquerer Mozilla
  14. Josh if you lived a bit closer mate you could have had one i will get pics as soon as i can
  15. My Rat had 8 little babies last night need to think of names for them all now so i want all your help to come up with some cool names
  16. ah cool learn something new every day
×
×
  • Create New...