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

	<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>2007-12-06T11:16:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-06T11:16:27-04:00</updated>

		<published>2007-12-06T11:16:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79051#p79051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79051#p79051"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79051#p79051"><![CDATA[
It's simple remove $drchan and replace it with $chan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Thu Dec 06, 2007 11:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-12-05T16:03:37-04:00</updated>

		<published>2007-12-05T16:03:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79036#p79036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79036#p79036"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79036#p79036"><![CDATA[
its good, unban in the channel, chanban, and via X. but get this error.<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .set errorInfo&lt;)Modo&gt; Currently: invalid channel: *!*@*.ar&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "isban $drchan $tnick"&lt;)Modo&gt; Currently:     (procedure "pub:unban" line 11)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "pub:unban $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div>and how can do for run this script in all channels?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Wed Dec 05, 2007 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-12-05T00:09:07-04:00</updated>

		<published>2007-12-05T00:09:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79014#p79014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79014#p79014"/>
		<title type="html"><![CDATA[Re: unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79014#p79014"><![CDATA[
<blockquote class="uncited"><div>i trying run this script, but i get error.<br><br>the script<div class="codebox"><p>Code: </p><pre><code>bind pub o|o .ub pub:unbanproc pub:unban { nick uhost hand chan text } { global botnick drchan drreason opsc tnick  if {[botisop $drchan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[ischanban $tnick $drchan]} {      killchanban $drchan $tnick      putserv "MODE $drchan -b $tnick"      putquick "privmsg X :unban $drchan $tnick"      putserv "privmsg $opsc :$hand/$nick: I removed \002$tnick\002 from $drchan" }      if {[isban $drchan $tnick]} {      killban $tnick      } else { puthelp "NOTICE $nick : I can't see that ban in the channel list" }    } else { puthelp "NOTICE $nick :SYNTAX: .ub &lt;nick!user@host&gt; - unbans an address" }  } else { puthelp "NOTICE $nick :Pfff n-am op!" }} </code></pre></div>and get this error.<br><br><strong class="text-strong">&lt;)Modo&gt; [17:36] Tcl error [pub:unban]: can't read "drchan": no such variable</strong><br><br><strong class="text-strong">errorInfo:</strong><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .set errorInfo&lt;)Modo&gt; Currently: can't read "drchan": no such variable&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "botisop $drchan"&lt;)Modo&gt; Currently:     (procedure "pub:unban" line 3)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "pub:unban $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div></div></blockquote><br>try adding this line at the beginning of this code then restart. <br><div class="codebox"><p>Code: </p><pre><code>set drchan "#mychannel"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Dec 05, 2007 12:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-03T22:46:05-04:00</updated>

		<published>2007-12-03T22:46:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78961#p78961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78961#p78961"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78961#p78961"><![CDATA[
You're making a very lame attempt at grabbing pieces of other's code without a clue as to what you're doing and then expecting other's to assist (which won't happen).<br><br>LoL's TooLz is defunct (probably the same goes for that ripped code in your first post).<br><br>Either learn Tcl and code something yourself, search the <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a> for what you need OR post an appropriate request of your needs in the <a href="http://forum.egghelp.org/viewforum.php?f=10" class="postlink">Script Requests</a> forum.<br><br>In your <a href="http://forum.egghelp.org/viewtopic.php?t=14982&amp;highlight=banlist" class="postlink">xbanpurge.tcl error</a> post you were given a solution to fix that script. You (apparently) ignored that advice, hence your creation of a new thread here.<br><br>There is a certain amount of <span style="text-decoration:underline">self-help</span> required by users of these forums. Those that desire to help expect those helped to do some figuring out themselves as part of their learning curve.<br><br>If something is unclear you simply ask and all will (usually) be revealed. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Dec 03, 2007 10:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-12-03T21:49:25-04:00</updated>

		<published>2007-12-03T21:49:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78960#p78960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78960#p78960"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78960#p78960"><![CDATA[
or how fix this ( lol.tcl 8.0 ) for unban with X too.<br><div class="codebox"><p>Code: </p><pre><code>proc lol_unban { nick hand chan mask byX } {if {[isnumber $mask]} {set find 0foreach bans [banlist $chan] {incr findif {$find == $mask} { set mask [lindex $bans 0] ; break }}if {[isnumber $mask]} {puthelp "NOTICE $nick :[lang_text lol_lang_data [getlang $hand] 46 $mask]"return 0} } else {if {[string first "!" $mask] == -1 &amp;&amp; [string first "@" $mask] == -1} {if {[isnumber [string index $mask 0]]} { set mask *!*@$mask } else { set mask $mask*!*@* }}if {[string first "!" $mask] == -1} {set mask *!*$mask}if {[string first "@" $mask] == -1} {set mask $mask*@*}}if {$byX } {if {[channel get $chan xlogin] &amp;&amp; [channel get $chan protectX] &amp;&amp; [isop X $chan]} {putserv "PRIVMSG X :unban $chan $mask"      puthelp "NOTICE $nick :[lang_text lol_lang_data [getlang $hand] 47 "$mask $chan"]"return 0}}if {[isban $mask $chan]} { if {![killchanban $chan $mask]} { killban $mask }      puthelp "NOTICE $nick :[lang_text lol_lang_data [getlang $hand] 47 "$mask $chan"]"return 0} if {[ischanban $mask $chan] &amp;&amp; [botisop $chan]} {putserv "MODE $chan -b $mask"putserv "PRIVMSG X :unban $chan $mask"             puthelp "NOTICE $nick :[lang_text lol_lang_data [getlang $hand] 47 "$mask $chan"]"return 0} puthelp "NOTICE $nick :[lang_text lol_lang_data [getlang $hand] 48 $chan]"return 0}</code></pre></div>i add this:<br><br>putserv "PRIVMSG X :unban $chan $mask" <br><br>but, unban channelban, but no unban via X.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Mon Dec 03, 2007 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-12-03T21:44:47-04:00</updated>

		<published>2007-12-03T21:44:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78959#p78959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78959#p78959"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78959#p78959"><![CDATA[
ohhh ;(<br><br>i want a script for unban in the internal banlist and too via X.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Mon Dec 03, 2007 9:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-12-03T20:01:30-04:00</updated>

		<published>2007-12-03T20:01:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78958#p78958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78958#p78958"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78958#p78958"><![CDATA[
That is not the full code.<br><br>"drchan" is not defined.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Dec 03, 2007 8:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-12-03T19:38:30-04:00</updated>

		<published>2007-12-03T19:38:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78957#p78957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78957#p78957"/>
		<title type="html"><![CDATA[unban via X and banlist.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78957#p78957"><![CDATA[
i trying run this script, but i get error.<br><br>the script<div class="codebox"><p>Code: </p><pre><code>bind pub o|o .ub pub:unbanproc pub:unban { nick uhost hand chan text } { global botnick drchan drreason opsc tnick  if {[botisop $drchan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[ischanban $tnick $drchan]} {      killchanban $drchan $tnick      putserv "MODE $drchan -b $tnick"      putquick "privmsg X :unban $drchan $tnick"      putserv "privmsg $opsc :$hand/$nick: I removed \002$tnick\002 from $drchan" }      if {[isban $drchan $tnick]} {      killban $tnick      } else { puthelp "NOTICE $nick : I can't see that ban in the channel list" }    } else { puthelp "NOTICE $nick :SYNTAX: .ub &lt;nick!user@host&gt; - unbans an address" }  } else { puthelp "NOTICE $nick :Pfff n-am op!" }} </code></pre></div>and get this error.<br><br><strong class="text-strong">&lt;)Modo&gt; [17:36] Tcl error [pub:unban]: can't read "drchan": no such variable</strong><br><br><strong class="text-strong">errorInfo:</strong><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .set errorInfo&lt;)Modo&gt; Currently: can't read "drchan": no such variable&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "botisop $drchan"&lt;)Modo&gt; Currently:     (procedure "pub:unban" line 3)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "pub:unban $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Mon Dec 03, 2007 7:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
