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

	<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>2015-09-07T02:33:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2015-09-07T02:33:20-04:00</updated>

		<published>2015-09-07T02:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104398#p104398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104398#p104398"/>
		<title type="html"><![CDATA[Botlending tcl modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104398#p104398"><![CDATA[
There is a post in the same thread you posted this in. It is trying to match the realname of a user, based on raw numerics. You may find it helpful in getting the IP, as I showed in the code <a href="http://forum.egghelp.org/viewtopic.php?t=20029" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Mon Sep 07, 2015 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[costynsyem]]></name></author>
		<updated>2015-09-06T14:41:52-04:00</updated>

		<published>2015-09-06T14:41:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104397#p104397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104397#p104397"/>
		<title type="html"><![CDATA[Botlending tcl modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104397#p104397"><![CDATA[
Hello <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I need some help with this code:<div class="codebox"><p>Code: </p><pre><code>proc pub:ban {hand chan args x mix} {global botnick ownerset whom   [lindex $args 0]set time   [lindex $args 1]set reason [lrange $args 2 end]set option noneset add    ""if { $whom == ""} { a:usage $x ban ; return "FAILED: not all parameters specified"}if {![botisop $chan]} { a:tell $x 96 $chan; return "FAILED: opless"}if { [string map {* {} . {} ! {} @ {} ? {}} $whom] == ""} {a:tell $x 190; return "FAILED: mass ban caution"}if {![a:level $x $chan $whom [nick2hand $whom] [a:translate $hand $chan 222 ban]]}  { return "FAILED: target access is higher" }if {![onchan $whom $chan]} { set theban $whom; a:tell $x 95} else { set theban "*!*[string range [getchanhost $whom $chan] [string first @ [getchanhost $whom $chan]] end]" }if {![a:check -digit $time]} { set time "[channel get $chan ban-time]m"; set reason "[lrange $args 1 end]"}if { [string equal [lindex $reason 0] sticky] }{ set option sticky; set add "\[sticky\] "; set reason [lrange $reason 1 end]}if { $reason == ""} { set reason "No reason supplied" }if { [string equal [lindex $reason 0] global] &amp;&amp; [check:n:gl $hand]}  {if {![llength [lrange $reason 1 end]]} { set reason "global No reason supplied" }set reason [join [a:translate $hand $chan 111 "$hand/\002[lindex $x 0]\002 $time ${add}\[globally\] [lrange $reason 1 end]"]]newban $theban $hand $reason $time $option; return "global_$whom for $time, $reason" } else {set reason [join [a:translate $hand $chan 111 "$hand/\002[lindex $x 0]\002 $time ${add}$reason"]]newchanban $chan $theban $hand $reason $time $option ; return "$whom $reason"}}</code></pre></div>My eggdrop is running on a server who use obfuscate ip address for every user, something like ACJaz.IRCserver.Org.<br>Problem is, if that user is reconnecting, he will have another obfuscate ip, so if u ban him with eggdrop is useless, he quit, join again and have another obfuscate ip.<br><br>But if u are IRC Operator, u can see real ip if u do double whois on that user. I can make my eggdrop IRC Operator, but i cant make him to ban the real ip. I make some test with some whois tcl who use "RAW 311"  and he return the real ip, so it can be done.<br><br>I tried to implement something with "raw 311", but without succes. I dont have enough knowledge to do this.<br><br>I guess i need to change this code:<div class="codebox"><p>Code: </p><pre><code>{ set theban "*!*[string range [getchanhost $whom $chan] [string first @ [getchanhost $whom $chan]] end]" } </code></pre></div>Can someone help me with some ideas?<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12562">costynsyem</a> — Sun Sep 06, 2015 2:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
