<?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/8056" />

	<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>2004-08-05T10:13:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-08-05T10:13:36-04:00</updated>

		<published>2004-08-05T10:13:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39512#p39512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39512#p39512"/>
		<title type="html"><![CDATA[need some help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39512#p39512"><![CDATA[
Umm.. either use <a href="http://tmml.sourceforge.net/doc/tcl/array.html" class="postlink">arrays</a> or <a href="http://tmml.sourceforge.net/doc/tcl/upvar.html" class="postlink">upvar</a> ("create link to variable in a different stack frame")<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Aug 05, 2004 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[feroz]]></name></author>
		<updated>2004-08-04T16:22:59-04:00</updated>

		<published>2004-08-04T16:22:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39486#p39486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39486#p39486"/>
		<title type="html"><![CDATA[need some help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39486#p39486"><![CDATA[
thx for reply,<br><br>i'll change it to,  [isbotnick $nick].<br><br>And actually the bopm proc was out side in my first trys, but i thought i could get the $victim_host if i put it inside the other proc as it'll be still considered as "local"...but didnt work... <br>any clue how i could get the $victim_var in the bopm proc?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5289">feroz</a> — Wed Aug 04, 2004 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-08-04T16:07:57-04:00</updated>

		<published>2004-08-04T16:07:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39484#p39484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39484#p39484"/>
		<title type="html"><![CDATA[need some help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39484#p39484"><![CDATA[
{[strlwr $nick] == [strlwr $::botnick]} is equal with [isbotnick $nick] and move the "bopm" proc outside the "getip" proc.. once something get from the socket the "bopm" proc is called.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Aug 04, 2004 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[feroz]]></name></author>
		<updated>2004-08-04T12:10:46-04:00</updated>

		<published>2004-08-04T12:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39469#p39469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39469#p39469"/>
		<title type="html"><![CDATA[need some help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39469#p39469"><![CDATA[
Hello,<br><br>tryin to script an open proxy scanner that get info from BOPM site..<br>having some probs  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>here goes the code<br><div class="codebox"><p>Code: </p><pre><code>bind join - * bopm:joinbind raw - 302  getipproc bopm:join {nick host hand chan} { if {[strlwr $nick] == [strlwr $::botnick] || [matchattr $hand of|fo $chan]} {return}   putserv "userhost $nick"  }proc getip { from key arg} {global victim_hostputserv "PRIVMSG #test : $arg"set victim_host [lindex [lrange [split $arg "@"] 1 end] 0] putserv "PRIVMSG #test :$victim_host"set new_url "http://opm.blitzed.org/proxy?ip=$victim_host"set sock [egghttp:geturl $new_url bopm]proc bopm {sock} {set headers [egghttp:headers $sock]set body [egghttp:data $sock]egghttp:cleanup $sockforeach line [split $body \n] {if {[string match "*The IP address \&lt;tt\&gt;*" $line]} {set ip_line $line#putserv "PRIVMSG #test :$ip_line"if {[string match *active* $ip_line] == 1} {putserv "PRIVMSG #test :it's an open-proxy!"#putserv "gline add *@$victim_host 120s testing"}if {[string match *never* $ip_line] == 1} {putserv "PRIVMSG #test :it is not an open proxy "putserv "PRIVMSG #test :$victim_host"} break}}}}</code></pre></div>My prob is i dont know how to get the $victim_host var in bopm {sock} proc.. because i need it to gline/ban the proxy user there..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5289">feroz</a> — Wed Aug 04, 2004 12:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
