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

	<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>2009-02-09T20:51:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-02-09T20:51:03-04:00</updated>

		<published>2009-02-09T20:51:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87322#p87322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87322#p87322"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87322#p87322"><![CDATA[
<blockquote class="uncited"><div>I have two problems :<br><br>2 ) When the ban come from my proxycheck.tcl,I get this Messenge from X : I can't find *@187.11.246.222 on channel #mychan .<br><br>It should be *!*@187.11.246.222<br><br>Do you want I send you the script ?</div></blockquote>Resolved<br><br>The script work very fine<br>thank you so much for your help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Mon Feb 09, 2009 8:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-02-09T19:23:34-04:00</updated>

		<published>2009-02-09T19:23:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87320#p87320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87320#p87320"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87320#p87320"><![CDATA[
<blockquote class="uncited"><div>I have two problems :<br><br>1 ) The duration of bans is always 62 days even if I change it.</div></blockquote>Resolved : The eggdrop use the origine scripts bantime.So I have just to modify ban duration in my scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Mon Feb 09, 2009 7:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-02-09T19:26:39-04:00</updated>

		<published>2009-02-09T19:06:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87318#p87318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87318#p87318"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87318#p87318"><![CDATA[
I have two problems :<br><br>1 ) The duration of bans is always 62 days even if I change it.<br><br>2 ) When the ban come from my proxycheck.tcl,I get this Messenge from X : I can't find *@187.11.246.222 on channel #mychan .<br><br>It should be *!*@187.11.246.222<br><br>Do you want I send you the script ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Mon Feb 09, 2009 7:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-02-09T18:24:35-04:00</updated>

		<published>2009-02-09T18:24:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87316#p87316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87316#p87316"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87316#p87316"><![CDATA[
<blockquote class="uncited"><div>   if {([xonchan "$channel"])} { <br>    puthelp "PRIVMSG #tcltest :$syntax" <br>    return</div></blockquote> Forgot to change that, was from when i was testing. It should be sending this to X not to #tcltest <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> ..hehe my bad <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_twisted.gif" width="15" height="15" alt=":twisted:" title="Twisted Evil"><br><br>Just change that line in your copy of the script, or use the one above since i've fixed this in that one. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon Feb 09, 2009 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-02-09T15:41:26-04:00</updated>

		<published>2009-02-09T15:41:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87312#p87312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87312#p87312"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87312#p87312"><![CDATA[
Thanks for your effort.<br><br>When I activate the script ( chanset &lt;#channel&gt; +sbx-enable ),<br>The eggdrop don't do any X or internal ban.<br>He just kick.<br><br>PS : X is present<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Mon Feb 09, 2009 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-02-09T18:25:09-04:00</updated>

		<published>2009-02-09T14:29:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87310#p87310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87310#p87310"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87310#p87310"><![CDATA[
This is the <span style="text-decoration:underline">version 2</span> that should do what you asked for in pvt/above. I've tested it a bit and it seems to work, so i hope this will be ok. You should be aware that this still uses the "internal" ban list for eggdrop if X isn't on the channel or the script isn't enabled for that channel. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation"> <div class="codebox"><p>Code: </p><pre><code># sbx.tcl by TCL_no_TK set sbx_version "1.3b" # # Version 2 of sbx.tcl.# This script "sends" new channel bans to X (As long as X is on the channel).# Depending if +sbx-enable is a valid option on the channel.# This script relays on the same "per channel" options as sbx.tcl version 1 dose.# Please see the syntax from version 1 below.## Usage: (in DCC/telnet) # # .chanset &lt;#channel&gt; +sbx-enable            - will enable the script on the given channel. # .chanset &lt;#channel&gt; -sbx-enable            - will disable the script. # .chanset &lt;#channel&gt; sbx-duration &lt;hours&gt;   - sets the ban duration, in hours for this channel. # .chanset &lt;#channel&gt; sbx-level &lt;level&gt;      - sets the ban level, for this channel. # .chanset &lt;#channel&gt; sbx-reason &lt;reason&gt;    - sets the ban reason, to use when adding the bans #                                              to X for this channel.## see http://cservice.undernet.org/docs/xcmds.txt for help when setting the script. # Usage: (in DCC/telnet)###set ban-default-level "500"                ;# The default ban level for the ban command in X.set ban-default-reason "Requested"         ;# The default ban reason for the ban command in X.if {([info commands old_newchanban] != "old_newchanban")} { rename newchanban old_newchanban}proc newchanban {channel ban creator {comment ""} {lifetime ""} {options ""}} { global ban-default-level ban-default-reason  set syntax "ban"  if {($channel != "") &amp;&amp; ($ban != "")} {   if {(![validchan "$channel"])} {    error "invalid channel: $channel"   }   if {(![string match "*!*@*" "$ban"])} {    set _ban "$ban!*@*"   } else {    set _ban "$ban"   }   if {(![channel get "$channel" "sbx-enable"])} {    if {($lifetime != "") &amp;&amp; ($options != "")} {     return [old_newchanban $channel $ban $creator "$comment" $lifetime $options]    } elseif {($lifetime != "") &amp;&amp; ($options == "")} {     return [old_newchanban $channel $ban $creator "$comment" $lifetime]    } elseif {($lifetime == "") &amp;&amp; ($options != "")} {     return [old_newchanban $channel $ban $creator "$comment" $options]    } else {     return [old_newchanban $channel $ban $creator "$comment"]    }   }   if {([bansme "$ban"])} {    putlog "Wanted to ban myself--deflected."    return   }   append syntax " $channel $ban"   if {($lifetime != "") &amp;&amp; ($lifetime != "0")} {    append syntax " $lifetime"   } else {    if {(([channel get "$channel" "sbx-duration"] != ""))} {     append syntax " [channel get "$channel" "sbx-duration"]"    }   }   if {([channel get "$channel" "sbx-level"] != "")} {    append syntax " [channel get "$channel" "sbx-level"]"   } else {    if {([info exists ban-default-level]) &amp;&amp; (${ban-default-level} != "")} {     append syntax " ${ban-default-level}"    }   }   if {($comment != "")} {    append syntax " $comment"   } elseif {([channel get "$channel" "sbx-reason"] != "")} {    append syntax " [channel get "$channel" "sbx-reason"]"   } elseif {([info exists default-ban-reason]) &amp;&amp; (${default-ban-reason} != "")} {    append syntax " ${default-ban-reason}"   } else {    append syntax " no reason"   }   if {([xonchan "$channel"])} {    puthelp "PRIVMSG X@channels.undernet.org :$syntax"    return   } else {    if {($lifetime != "") &amp;&amp; ($options != "")} {     return [old_newchanban $channel $ban $creator "$comment" $lifetime $options]    } elseif {($lifetime != "") &amp;&amp; ($options == "")} {     return [old_newchanban $channel $ban $creator "$comment" $lifetime]    } elseif {($lifetime == "") &amp;&amp; ($options != "")} {     return [old_newchanban $channel $ban $creator "$comment" $options]    } else {     return [old_newchanban $channel $ban $creator "$comment"]    }   }  } else {   error "wrong # args: should be \"newchanban channel ban creator comment ?lifetime? ?options?\""  }}# used for checking if we are banning are selfs.proc bansme {ban} { global botnick botname  if {([string match -nocase "*$botname" "$ban"]) || ([string match -nocase "*$botnick*!*@*" "$ban"])} {   return 1  }   return 0}# used for checking if X is on the channel or not. proc xonchan {channel} {  if {([onchan "X" "$channel"])} {   return 1  } else {   return 0  } }setudef flag sbx-enable setudef str sbx-duration setudef str sbx-reason setudef str sbx-levelputlog "loaded sbx-v2.tcl version $sbx_version by TCL_no_TK" return</code></pre></div> I'd remove <span style="text-decoration:underline">version 1</span> if you will be using this script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon Feb 09, 2009 2:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-01-22T10:22:35-04:00</updated>

		<published>2009-01-22T10:22:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87068#p87068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87068#p87068"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87068#p87068"><![CDATA[
Yessssss work Fine thank you very much  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>I hop you will improve it in the future to verify every X minutes the banlist and add newest.Or when the eggdrop make a new ban hi put it in X.<br><br>Thanks again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Thu Jan 22, 2009 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-01-22T02:37:31-04:00</updated>

		<published>2009-01-22T02:37:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87065#p87065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87065#p87065"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87065#p87065"><![CDATA[
Welcome, and sorry for the delay.<br>It should be fixed now, or at least it worked for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br><a href="http://forum.egghelp.org/viewtopic.php?p=86975#86975" class="postlink">Code</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Jan 22, 2009 2:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-01-21T18:53:15-04:00</updated>

		<published>2009-01-21T18:53:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87062#p87062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87062#p87062"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87062#p87062"><![CDATA[
ok thank you  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Wed Jan 21, 2009 6:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-01-21T18:50:51-04:00</updated>

		<published>2009-01-21T18:50:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87061#p87061</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87061#p87061"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87061#p87061"><![CDATA[
haha  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> i like it.<br>Its ok, hopefully something will turn up when i test it. (soon)<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_arrow.gif" width="15" height="15" alt=":arrow:" title="Arrow"> Will keep u posted if anything dose turn up<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Wed Jan 21, 2009 6:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-01-21T10:45:53-04:00</updated>

		<published>2009-01-21T10:45:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87050#p87050</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87050#p87050"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87050#p87050"><![CDATA[
Ambiguous command.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Wed Jan 21, 2009 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-01-21T00:24:19-04:00</updated>

		<published>2009-01-21T00:24:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87042#p87042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87042#p87042"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87042#p87042"><![CDATA[
eggdrop.conf check for <blockquote class="uncited"><div>unbind dcc n tcl *dcc:tcl<br>unbind dcc n set *dcc:set</div></blockquote> and change the word <strong class="text-strong">unbind</strong> for <strong class="text-strong">bind</strong> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Wed Jan 21, 2009 12:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-01-20T09:58:55-04:00</updated>

		<published>2009-01-20T09:58:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87027#p87027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87027#p87027"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87027#p87027"><![CDATA[
<blockquote class="uncited"><div>in DCC/telnet with eggdrop <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"></div></blockquote>I did but :  What?  You need '.help'<br>The eggdrop don't know this command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Tue Jan 20, 2009 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-01-19T22:29:04-04:00</updated>

		<published>2009-01-19T22:29:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87017#p87017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87017#p87017"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87017#p87017"><![CDATA[
in DCC/telnet with eggdrop <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon Jan 19, 2009 10:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[symbian001]]></name></author>
		<updated>2009-01-19T20:17:40-04:00</updated>

		<published>2009-01-19T20:17:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87012#p87012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87012#p87012"/>
		<title type="html"><![CDATA[Eggdrop banlist to Undernet X banlist]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87012#p87012"><![CDATA[
Where i put this command ?<br><br>.set errorInfo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10426">symbian001</a> — Mon Jan 19, 2009 8:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
