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

	<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>2006-03-07T15:28:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[miCHa]]></name></author>
		<updated>2006-03-07T15:28:33-04:00</updated>

		<published>2006-03-07T15:28:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60930#p60930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60930#p60930"/>
		<title type="html"><![CDATA[setudef problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60930#p60930"><![CDATA[
sorry for pushing this thread. This is only a tip, if you dont want to use setudef (checkin if its on etc.)<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !help helpproc help { nickname hostname handle channel arguments } {if {[string equal -nocase $channel "#your_channel"]} {  putserv "privmsg $channel :your text!"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7461">miCHa</a> — Tue Mar 07, 2006 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-23T13:34:33-04:00</updated>

		<published>2006-02-23T13:34:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60608#p60608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60608#p60608"/>
		<title type="html"><![CDATA[Re: setudef problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60608#p60608"><![CDATA[
<blockquote class="uncited"><div>Hello!<br>This is my script:<div class="codebox"><p>Code: </p><pre><code>setudef flag helpbind pub - !help helpproc help {nick host hand chan rest} {   puthelp "privmsg $chan :blablabla"}</code></pre></div>The bot is listened on more than one channel. And I want that it only answers on one of these channels. So I insert "setudef flag help" in my script. But now the bot still anwers in every channel. What do I have to add to my script that it works.</div></blockquote>You need to check if the channel is set to +help.<div class="codebox"><p>Code: </p><pre><code>if {[channel get $chan help]} { puthelp "privmsg $chan :blablabla"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Feb 23, 2006 1:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2006-02-23T13:01:21-04:00</updated>

		<published>2006-02-23T13:01:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60605#p60605</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60605#p60605"/>
		<title type="html"><![CDATA[setudef problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60605#p60605"><![CDATA[
try<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !help helpproc help {nick host hand chan rest} {if {$chan =="#mychannel"} {   puthelp "privmsg $chan :blablabla"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Thu Feb 23, 2006 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-02-23T11:22:46-04:00</updated>

		<published>2006-02-23T11:22:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60601#p60601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60601#p60601"/>
		<title type="html"><![CDATA[setudef problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60601#p60601"><![CDATA[
Hello!<br>This is my script:<div class="codebox"><p>Code: </p><pre><code>setudef flag helpbind pub - !help helpproc help {nick host hand chan rest} {   puthelp "privmsg $chan :blablabla"}</code></pre></div>The bot is listened on more than one channel. And I want that it only answers on one of these channels. So I insert "setudef flag help" in my script. But now the bot still anwers in every channel. What do I have to add to my script that it works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Feb 23, 2006 11:22 am</p><hr />
]]></content>
	</entry>
	</feed>
