<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/15640" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2008-05-12T07:30:09-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/15640</id>

		<entry>
		<author><name><![CDATA[ztian299]]></name></author>
		<updated>2008-05-12T07:30:09-04:00</updated>

		<published>2008-05-12T07:30:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82891#p82891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82891#p82891"/>
		<title type="html"><![CDATA[need a script to add to proxycheck.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82891#p82891"><![CDATA[
You could use putty, and edit your script with pico/nano/vim<br><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" class="postlink">http://www.chiark.greenend.org.uk/~sgta ... nload.html</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9874">ztian299</a> — Mon May 12, 2008 7:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[noobman]]></name></author>
		<updated>2008-04-14T06:16:28-04:00</updated>

		<published>2008-04-14T06:16:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82302#p82302</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82302#p82302"/>
		<title type="html"><![CDATA[need a script to add to proxycheck.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82302#p82302"><![CDATA[
Hi to everyone:<br>Im using this proxycheck which i can add port to be scanned on join.<div class="codebox"><p>Code: </p><pre><code>#################################################################################  #  TCL scripts by Ofloo all rights reserved.# #  HomePage: http://ofloo.net/#  CVS: http://cvs.ofloo.net/#  Email: support[at]ofloo.net#  #  This program is free software; you can redistribute it and/or#  modify it under the terms of the GNU General Public License#  as published by the Free Software Foundation; either version 2#  of the License, or (at your option) any later version.#   #  This program is distributed in the hope that it will be useful,#  but WITHOUT ANY WARRANTY; without even the implied warranty of#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the#  GNU General Public License for more details.#   #  You should have received a copy of the GNU General Public License#  along with this program; if not, write to the Free Software#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.#  #  ChangeLog:#   - 11/02/2005: Fix close fd################################################################################namespace eval proxyban {    ###################################  # Main settings change to your  # preference.  ###################################  variable banport "1080,1081,3380,3381" ;# Most commen port list  variable bantime "20" ;# Permanent ban.  variable bantext "Proxys Detected! If you are not a Proxy /pm noobman. 20 min Ban!" ;# Ban msg when bot kicks user  variable warnmsg "Scanning for proxys plz ignore the warning on your firewall." ;# notify the user.    ###################################  # Do not edit below  ###################################  variable version "1.1"  ###################################  # Join bind  ###################################  proc scan_join {nick host hand chan} {    variable banport; variable warnmsg    putserv "NOTICE $nick :$warnmsg"    set hostname [lindex [split $host \x40] end]    foreach {x} [split $banport \x2c] {      if {![catch {socket -async $hostname $x} s]} {        fileevent $s writable [list [namespace current]::check_sock $s $host $chan]      }    }  }  ###################################  # fileevent callback  ###################################  proc check_sock {s host chan} {    variable bantime; variable bantext    if {[string equal {} [fconfigure $s -error]]} {      newchanban $chan [maskhost $host] $::botnick $bantext $bantime    }    close $s  }  bind join - * [namespace current]::scan_join  ################################################################################  putlog "\002ProxyCheck.tcl\002 version \002$version\002 by \002Ofloo\002 is loaded."}</code></pre></div>But my quiestion is that all ports i must add, i must do it by oppening the tcl and adding them , and then upload it by ftp.<br><br>Question : "Could you add a litle script to the tcl to can add port in channel ?"<br><br>I mean for example : the eggdrop is running and i want to add a port to be checked on join, then i should type in the channel : !add 25467<br><br>Then the port 25467 will be added and saved in a txt file, and the bot will check for that por when the people join.<br>Thanks masters!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9488">noobman</a> — Mon Apr 14, 2008 6:16 am</p><hr />
]]></content>
	</entry>
	</feed>
