There are so many posts on this forum about trojan/spambot detection etc etc... Can we maybe make one post with every single detection regexp/algothim etc so then its easier than to search the forum for however long to find some decent piece of code to detected trojans/pjens/spambots or whatever peo...
You're msg_ops proc is bad, you should check the dest syntax correctly, see if the channel is added etc... proc msg_ops {channel msg} { if {![validchan $channel]} { return } if {$msg == ""} { return } foreach user [chanlist $channel] { if {$user != "" && [isop $user $chan...
set modeD(channel) "#mychannel" # set the mode to either 'o' or 'v', nothing else! set modD(mode) "v" bind time - "?2 * * * *" modeD:time bind time - "?4 * * * *" modeD:time bind time - "?6 * * * *" modeD:time bind time - "?8 * * * *" mode...
You should read the tcl http docs, you need to get the body/data of the website using http::data, you then need to clean it up using http::cleanup. bind pub - !joined joined proc joined {nick host handle chan text} { set query "[http::formatQuery username $text]" set token [::http::geturl ...
I would use WHO with the nuh arguments (n=nickname,u=username(identd),h=hostname) putserv "WHO $nick %nuht,22" bind raw - 354 get:uhost proc get:uhost {from key arg} { if {[lindex [split $arg] 1] == "22"} { set hostname "[lindex [split $arg] 2]@[lindex [split $arg] 3]" ...
You could try something like this, bare in mind its not tested: set op "" set voice "" set reg "" foreach nick [lsort [chanlist $tgchan]] { if {$nick == ""} { return } set line1 " <td>-</td>" set line2 " <td>-</td>" if {[info exists tgscore...
I'm the coder/developer of the service bots on #pwnd.bots at quakenet, and i have worked with such scripts before, and im currently adding it into my service script. It takes alot of work, you got to know your raw's etc etc, and it can cause alot of bot lag/pingouts/sendq's if you don't watch out. W...
I don't think its been done already, but a simple rename on the variable/set proc and add in a regexp check maybe (to check syntax + check namespace if used), then save to your file and set the var. On bot loadup, just load the contents of the file instead of accessing it and then keeping it in memo...