Proxy cycle sistemi
Türkçe mirc scriptlerde Proxy Cycle Sistemini başlatmak için
1 |
/basla |
yazmanız yeterlidir.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
alias sw { if $sock($1).status == active { sockwrite -nt $1- } } alias sunucu return irc.ircdforum.com:6667 alias setname return Www.ircdforum.com alias chanlar return #ircdforum,#sohbet,#radyo alias ident return 63 alias basla { foral timerforum 0 120 /foral timercycle 0 1 /clon } alias dur { .timerforum off .timercycle off } alias clon { set %andd $rand(0,9999999999999) set %proxy $read(proxy.txt) sockclose x $+ %andd sockopen x $+ %andd $gettok(%proxy,1,58) $gettok(%proxy,2,58) } on *:sockopen:x*: { if ( $sockerr > 0 ) { return } sw $sockname CONNECT $sunucu $+(HTTP/1.0,$CRLF,$CRLF) } on *:sockread:x*:{ if ( $sockerr > 0 ) { return } var %report .sockread %report tokenize 32 %report var %asasa sockwrite -n $sockname if ($gettok(%report,1-2,32) == HTTP/1.0 200) || ($gettok(%report,1-2,32) == HTTP/1.1 200) { set %and $rand(10,2000) %asasa NICK $read(nick.txt) %asasa USER $ident " " : $+ $setname .timer $+ $sockname 1 %and /sockclose $sockname %asasa join $chanlar } if ($1 == ping) { %asasa pong $2 } if (version isin $4) { %asasa notice $gettok($gettok($1,1,33),1,58) : $+ $chr(1) $+ VERSION esChat v3.6 © 2006 $+ $chr(1) } } alias foral { write -c proxy.txt inc %ss sockopen $+(forum,%ss) elite-proxies.blogspot.com 80 } on *:sockopen:forum*:{ sockwrite -n $sockname GET / HTTP/1.1 sockwrite -n $sockname Host: elite-proxies.blogspot.com $+ $crlf $+ $crlf } on *:sockread:forum*:{ var %forum sockread %forum .tokenize 32 %forum if (*.*:* iswm $1-) && (*a* !iswm $1-) { write proxy.txt $gettok($afree($1-),1,32) } } alias afree { var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/gi,$null,%x), %x = $remove(%x, , ) return %x } |