Minggu, 26 Desember 2010
Tcl Berita
Tcl Radio
################################
### Radio.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
################################
Kamis, 23 Desember 2010
Tcl Domain
################################
### Domain.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
################################
bind pub - !owner owner
proc owner {nick host handle chan text} {
set server "isfree.schlundtec.com"
set port 80
set l 14
set i 0
set path "/cgi-bin/isfree.cgi?nodesign=1&domain=[lindex $text 0]"
set sockdw [socket $server $port]
puts $sockdw "GET $path HTTP/1.0"
puts $sockdw "User.Agent:Mozilla"
puts $sockdw "Host: $server"
puts $sockdw ""
flush $sockdw
while {$i <= $l} {
gets $sockdw linedw
putlog $linedw
if {[string match "*Domain*frei*" $linedw]} {
putserv "PRIVMSG $chan :DOMAIN [lindex $text 0] is not exist"
close $sockdw
return 0
}
if {[string match "*Domain*registriert*" $linedw]} {
gets $sockdw
putserv "PRIVMSG $chan :Owner : [html [gets $sockdw]]"
putserv "PRIVMSG $chan :Address : [html [gets $sockdw]]"
putserv "PRIVMSG $chan :City : [html [gets $sockdw]]"
putserv "PRIVMSG $chan :Country : [html [gets $sockdw]]"
close $sockdw
return 0
}
incr i
}
close $sockdw
}
Download di sini
Tcl Carding
#################################
### carding.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
#################################
putlog "## ..:: Initializing carding Addon TCL ::... ##"
# Set Channel
set carding_chan "#google"
set master 1
# Set respon, baris pertama direspon oleh baris selanjutnya
set carding {
{
"!command" {
" 0,1$nick 4: 11Invalid Command, use 4! 15Commands "
}
}
{
"!commands*" {
" 0,1$nick 4: 11Commands is » 0,1 4! 15 C ountry 4! 15 S tate 4! 15 P roxy 4! 15 C vv2 4! 15 B ank 4! 15 P ortchk 4! 15 A lgobank 4! 15 A lgolocal "
}
}
{
"!country" {
" 0,1$nick 4: 11Using 4 !Country US 11or u want " }
}
Download di sini
Tcl Advertise
################################
### advertise.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
################################
# Channel to send advertise messages to / Set channel untuk advertise
set ai_chan "#lampung"
# Maximum time interval between messages (in minutes) / Set jarak pesan tiap X menit
set ai_time 15
# Messages to send / Set pesan
set ai_msgs {
"add fB arch_fajri@yahoo.co.id"
"Lampung@Allnetwork"
"Mau jadi Dj Radio Langgam PV OP Lampung@alletwork"
"Trima Jasa pasang iklan Hub OP di Cenel Lampung"
"Info Cenel Lampung | Founder : masadepan | Successor : ^kucing_ganteng^ | Registered : Feb 01 18:58:15 2007"
"Siapa yang mau ekspos Fb ??? di Radio Langgam "
"ketik .radio untuk mendengarkan Radio Langgam"
"BRB"
":p"
}
Download di sini
Tcl Dns
###########################################
### dns.tcl ###
### Version 1.0 ###
### edit By Arch_fajri ###
### arch_fajri@yahoo.co.id ###
### http://lampunghacker.blogspot.com ###
### Google@allnetwork ###
### Desember @ 2010 ###
###########################################
#--------------------------------------------------------------------------
# !Dns Version 3.1 Based on Script by I_strike - edited by depthCoRE team!
# Commands:
# !dns
# !User@host
# !dnsnick
# !amsg
#-------------------------------------------------------
# SET THE CHARACTER THAT WILL BE USED BEFORE PUBLIC QUERRIES
# EXAMPLE: "#" => #seen, #op .... DEFAULT: "!"
set dnshost(cmdchar) "!"
#-----------------please don't CHANGE ANY OF THE FOLLOWING LINES----------------------
bind pub - [string trim $dnshost(cmdchar)]dns dns:res
bind pub n|n [string trim $dnshost(cmdchar)]amsg pub:amsg
bind pub - [string trim $dnshost(cmdchar)]userhost pub:host
bind pub - [string trim $dnshost(cmdchar)]version pub:ver
bind pub - [string trim $dnshost(cmdchar)]dnsnick dns:nick
bind raw * 311 raw:host
bind raw * 401 raw:fail
set dns_chan ""
set dns_host ""
set dns_nick ""
set dns_bynick ""
proc pub:host {nick uhost hand chan arg} {
global dns_chan
set dns_chan "$chan"
putserv "WHOIS [lindex $arg 0]"
}
Download di sini
Tcl Seen
###########################################
### seen.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
###########################################
#Input is accepted from:
# pub: !seen
# msg: seen
# and dcc: .seen
#
#Queries can be in the following formats (public examples given):
# 'regular' !seen lamer; !seen lamest | SmartSearch-enabled query
# 'limited' !seennick lamer | SmartSearch-bypassed query
# 'masked' !seen *l?mer*; !seen *.lame.com; !seen *.edu #mychan
#
#Bonus feature: !lastspoke
# You can use wildcard matching for
# first match are returned.
###Parameters:
#bs(limit) is the database record limit.
set bs(limit) 90000
#bs(nicksize) is the maximum nickname length (9 on Undernet)
set bs(nicksize) 20
Download di sini
Tcl Port
#################################
### Port.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
#################################
##############
## COMMANDS ##
############################################
## DCC ## .portcheck
######### Checks weather or not the specified port is
######### open on the specified host or ip.
######### ---------------------------------------------
######### .chanset
######### Enables on-join port checking for a channel.
############################################
## PUB ## !portcheck
######### Checks weather or not the specified port is
######### open on the specified host or ip.
############################################
############################################
## Just load the script, set the variables, and rehash.
############################################
############################################
# Set flag required for checking the status of a port. #
############################################
Download di sini
Tcl Ip
#################################
### ip.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
### Desember @ 2010
#################################
########
# DNS
########
bind pub - "!dns" dnss
proc dnss {nick uhost hand chan arg} {
set ip [lindex $arg 0]
if {[string match "*:*" $ip]} {
regsub -all ":" $ip " " ip
set ip [lindex $ip 0]
}
set query [dns $ip]
if {$query == 0} {
puthelp "PRIVMSG $chan :12DNS14 $ip Not Resolved"
} else {
puthelp "PRIVMSG $chan :12DNS14 $ip Resolved To $query"
}
}
#############################
# CITY
#############################
bind pub -|- "!ip" city:ip
bind pub -|- "!c" city:city
bind pub -|- "!city" city:city
## ADVANCE CITY ##
proc city:ip {nick uhost hand chan arg} {
set ip [lindex $arg 0]
if {[string match "*:*" $ip]} {
regsub -all ":" $ip " " ip
set ip [lindex $ip 0]
}
if {$ip == ""} {
puthelp "NOTICE $nick :12CITY14 Usage: !ip
} else {
if {[isip $ip] == 1} {
puthelp "PRIVMSG $chan :12CITY14 $ip (3[hostip $ip])"
city:whois $ip $chan
} else {
if {[string match "*.*" $ip] && [string length $ip] > 3} {
set dns [dns $ip]
if {$dns != 0} {
puthelp "PRIVMSG $chan :12CITY14 $ip Ip $dns (3[hostip $dns])"
city:whois $dns $chan
} else {
puthelp "PRIVMSG $chan :12CITY14 Failed: Unable To Resolve $ip"
}
} else {
puthelp "PRIVMSG $chan :12CITY14 $ip is Not A Valid HostName"
}
}
}
}
## SIMPLE CITY ##
proc city:city {nick uhost hand chan arg} {
set ip [lindex $arg 0]
if {[string match "*:*" $ip]} {
regsub -all ":" $ip " " ip
set ip [lindex $ip 0]
}
if {$ip == ""} {
puthelp "NOTICE $nick :12CITY14 Usage: !ip
} else {
if {[isip $ip] == 1} {
puthelp "PRIVMSG $chan :12CITY14 $ip (3[hostip $ip])"
} else {
if {[string match "*.*" $ip] && [string length $ip] > 3} {
set dns [dns $ip]
if {$dns != 0} {
puthelp "PRIVMSG $chan :12CITY14 $ip Ip $dns (3[hostip $dns])"
city:whois $dns $chan
} else {
puthelp "PRIVMSG $chan :12CITY14 Failed: Unable To Resolve $ip"
}
} else {
puthelp "PRIVMSG $chan :12CITY14 $ip is Not A Valid HostName"
}
}
}
}
proc city:whois {ip chan} {
####### Refeeral Whois #######
putlog "<
set port 43
set ref "whois.arin.net"
set maxforwad 3
Download di sini
Tcl Ping
##############################
### Ping.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
##############################
########
# Start
########
bind pub - !ping ping_me
bind pub - ping ping_me
bind ctcr - PING ping_me_reply
proc ping_me {nick uhost hand chan arg} {
global pingchan pingwho
set arg [string toupper $arg]
if {$arg == "" || [string match "#*" $arg]} {
puthelp "NOTICE $nick :Gunakan: !ping me atau !ping nick lain"
return 0
} elseif {$arg == "ME"} {
putserv "PRIVMSG $nick :\001PING [unixtime]\001"
set pingwho 0
set pingchan $chan
return 1
} else {
putserv "PRIVMSG $arg :\001PING [unixtime]\001"
set pingwho 1
set pingchan $chan
return 1
}
}
proc ping_me_reply {nick uhost hand dest key arg} {
global pingchan pingwho
if {$pingwho == 0} {
puthelp "PRIVMSG $pingchan :LaG reply 12$nick : [expr [unixtime] - $arg] detik"
return 0
} elseif {$pingwho == 1} {
puthelp "PRIVMSG $pingchan :LaG reply 12$nick : [expr [unixtime] - $arg] detik"
return 0
}
}
############
#End of TCL
############
Download di sini
Tcl Jam
##############################
### jam.tcl
### Version 1.0
### edit By Arch_fajri
### arch_fajri@yahoo.co.id
### http://lampunghacker.blogspot.com
### Google@allnetwork
##############################
#########
## Time
#########
bind pub - .time timecheck
bind pub - !time timecheck
bind pub - .jam timecheck
bind pub - !jam timecheck
bind RAW - 391 timereply
set servtime "uii.id.allnetwork.org"
proc timecheck { nick uhost hand chan text } {
global botnick servtime
putquick "TIME $servtime"
set ::timechan $chan
}
proc timereply { from keyword arguments } {
set channel $::timechan
time:output $channel $arguments
}
proc time:output { channel arguments } {
global botnick servtime
set day [lindex [split $arguments] 2]
if {$day == ":Monday"} { set hari "Senin" }
if {$day == ":Tuesday"} { set hari "Selasa" }
if {$day == ":Wednesday"} { set hari "Rabu" }
if {$day == ":Thursday"} { set hari "Kamis" }
if {$day == ":Friday"} { set hari "Jum'at" }
if {$day == ":Saturday"} { set hari "Sabtu" }
if {$day == ":Sunday"} { set hari "Minggu" }
set tanggal [lindex [split $arguments] 4]
set month [lindex [split $arguments] 3]
if {$month == "January"} { set bulan "Januari" }
if {$month == "February"} { set bulan "Februari" }
if {$month == "March"} { set bulan "Maret" }
if {$month == "April"} { set bulan "April" }
if {$month == "May"} { set bulan "Mei" }
if {$month == "June"} { set bulan "Juni" }
if {$month == "July"} { set bulan "Juli" }
if {$month == "August"} { set bulan "Agustus" }
if {$month == "September"} { set bulan "September" }
if {$month == "October"} { set bulan "Oktober" }
if {$month == "November"} { set bulan "November" }
if {$month == "December"} { set bulan "Desember" }
Download di sini