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

	<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>2002-12-09T23:14:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-09T23:14:21-04:00</updated>

		<published>2002-12-09T23:14:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14146#p14146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14146#p14146"/>
		<title type="html"><![CDATA[need-unban question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14146#p14146"><![CDATA[
ppslim...thanks for all the good info!   You know your stuff.<p>Statistics: Posted by Guest — Mon Dec 09, 2002 11:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-08T08:58:12-04:00</updated>

		<published>2002-12-08T08:58:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14094#p14094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14094#p14094"/>
		<title type="html"><![CDATA[need-unban question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14094#p14094"><![CDATA[
This is actualy one of those anoying things about software, but you start realising why they are there.<br><br>The length of text that you can place in this setting is limited (preventing memory clogup).<br><br>There is however a work around. This isn't a workaround as such, more the main way it was intended to be used.<br><br>Simply create you own script, to handle this, which can contain as many lines as you want, and place a line to call this script in the need-unban line.<br><div class="codebox"><p>Code: </p><pre><code>proc my_need_unban {} {  putserv "nickserv xxxxxxxxx"  putserv "chanserv xxxxxxxx"  putserv "chanserv xxxxxxxx"}channel set #channel need-unban {my_need_unban}</code></pre></div>However, this will only allow for one channel to be hardcoded in. SO using simple proper Tcl scripting, you can do the following with it.<br><div class="codebox"><p>Code: </p><pre><code>proc my_need_unban {chan} {  putserv "nickserv xxxxxxxxx"  putserv "chanserv unbanme $chan"  putserv "chanserv xxxxxxxx"}channel set #channel need-unban {my_need_unban #channel}channel set #hello need-unban {my_need_unban #hello}</code></pre></div>You pass it the channel name, and it can be used to dynamicly change the line being sent to the server, rather than hardcoding it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 08, 2002 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-08T04:07:55-04:00</updated>

		<published>2002-12-08T04:07:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14088#p14088</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14088#p14088"/>
		<title type="html"><![CDATA[need-unban question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14088#p14088"><![CDATA[
This always worked fine in the conf with 2 lines.  I added a 3rd line...<br><br>     need-unban { putserv "nickserv xxxxxxxxx"<br>                          putserv "chanserv xxxxxxxx"<br>                          putserv "chanserv xxxxxxxx" }<br><br>...and now I get the error...<br><br>    Tcl error in script for 'need-unban':<br>    missing "<br><br>What am I missing here?<br>tnx<p>Statistics: Posted by Guest — Sun Dec 08, 2002 4:07 am</p><hr />
]]></content>
	</entry>
	</feed>
