- -
intikam.tcl
(
https://www.ircforumlari.net/tcl-scriptler/1073214-intikamtcl.html)
intikam.tcl PHP- Kodu: #intikam.tcl IUC Aralık 2025
namespace eval antislap {
variable author "IUC> (c)"
variable version "1.0.1"
variable date "1 Aralık 2025"
set time_up [clock clicks -milliseconds]
set ::antislap::check(delay) 20
variable chflag antislap
setudef flag $chflag
bind ctcp - "ACTION" ::antislap::actn
proc actn {nick uhost hand chan key text} {
variable texts; variable chflag
if {![channel get $chan $chflag]} {return}
set nick [split $nick]
if {[info exists ::antislap::check(lasttime,$uhost)] && [expr $::antislap::check(lasttime,$uhost) + $::antislap::check(delay)] > [clock seconds] && ![matchattr $hand n]} {return}
if {[string match "*$::botnick*" $text]} {
set ::antislap::check(lasttime,$uhost) [clock seconds]
putserv "PRIVMSG $chan :\001ACTION [regsub -- %nick% [lindex $::antislap::texts [rand [llength $::antislap::texts]]] $nick]\001"
}
}
variable texts {
"slaps %nick%'in suratına Geri tokat'ı!"
"slaps %nick% Tokat atma lan bana!!"
}
set time_down [clock clicks -milliseconds]
putlog "İntikam v$version \[$date\] by $author [expr ($time_down-$time_up)/1000.0] yüklendi."
|
| Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 02:38. | |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk