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

	<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>2003-02-17T19:02:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-17T19:02:58-04:00</updated>

		<published>2003-02-17T19:02:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16726#p16726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16726#p16726"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16726#p16726"><![CDATA[
WOEHOEEEEEEE it works, thx guys.<br>Made a stupid mistake,<br>btw sorry for my poor english but i'm working on it in school <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thanks to everyone<p>Statistics: Posted by Guest — Mon Feb 17, 2003 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-17T02:28:23-04:00</updated>

		<published>2003-02-17T02:28:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16686#p16686</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16686#p16686"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16686#p16686"><![CDATA[
Replace<br><div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact [channel info $chan] -flagname] != -1} { return }</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact [channel info $chan] -fun] != -1} { return }</code></pre></div>Also, the correct usage to change the flag for a channel is: '.chanset #channel +fun'. Probably you have typed it wrong or something..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Feb 17, 2003 2:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-16T18:20:10-04:00</updated>

		<published>2003-02-16T18:20:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16676#p16676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16676#p16676"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16676#p16676"><![CDATA[
this is how my tcl looks like <div class="codebox"><p>Code: </p><pre><code>setudef flag funbind pub - !3kisses pub_!3kissesproc pub_!3kusjes {nick uhost hand chan arg} {if {[lsearch -exact [channel info $chan] -flagname] != -1} { return }set who [lindex $arg 0]if {$who == ""} {notice $nick "Use: !3kisses &lt;nick&gt;"return }putchan "$chan" "$nick gives $arg 3 sweet kisses, ooh isn't that sweet!"return }</code></pre></div>what is wrong?<br>lots of greets boemer<p>Statistics: Posted by Guest — Sun Feb 16, 2003 6:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-16T16:37:17-04:00</updated>

		<published>2003-02-16T16:37:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16673#p16673</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16673#p16673"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16673#p16673"><![CDATA[
Then you have made an error somewhere. Have you loaded the file with the 'setudef flag fun'?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Feb 16, 2003 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-16T13:55:42-04:00</updated>

		<published>2003-02-16T13:55:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16666#p16666</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16666#p16666"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16666#p16666"><![CDATA[
dan i always get:<br> Error trying to set +fun for #bots-zone, invalid mode.<br><br>and in the beginning of my fun is putted:<br><br>setudef flag fun<p>Statistics: Posted by Guest — Sun Feb 16, 2003 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-16T13:37:14-04:00</updated>

		<published>2003-02-16T13:37:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16665#p16665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16665#p16665"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16665#p16665"><![CDATA[
No, just like this:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !3kisses pub_!3kisses proc pub_!3kusjes {nick uhost hand chan arg} { if {[lsearch -exact [channel info $chan] -flagname] != -1} { return }set who [lindex $arg 0] if {$who == ""} { notice $nick "Use: !3kisses &lt;nick&gt;" return } putchan "$chan" "$nick gives $arg 3 sweet kisses, ooh isn't that sweet!" return }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Feb 16, 2003 1:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-16T12:28:18-04:00</updated>

		<published>2003-02-16T12:28:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16660#p16660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16660#p16660"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16660#p16660"><![CDATA[
so it becomes somethin like this:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !3kisses pub_!3kissesproc pub_!3kusjes {nick uhost hand chan arg} {foreach chan [channels] {if {[lsearch -exact [channel info $chan] +&lt;flagname&gt;] != -1} {set who [lindex $arg 0]  if {$who == ""} {    notice $nick "Use: !3kisses &lt;nick&gt;"    return 0  }  putchan "$chan" "$nick gives $arg 3 sweet kisses, ooh isn't that sweet !"  return 0  } }}</code></pre></div><p>Statistics: Posted by Guest — Sun Feb 16, 2003 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-16T11:37:31-04:00</updated>

		<published>2003-02-16T11:37:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16659#p16659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16659#p16659"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16659#p16659"><![CDATA[
And what do you sugest for a integer (int)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Feb 16, 2003 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-02-16T10:55:32-04:00</updated>

		<published>2003-02-16T10:55:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16654#p16654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16654#p16654"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16654#p16654"><![CDATA[
How to create a chanflag :<div class="codebox"><p>Code: </p><pre><code>setudef flag &lt;flagname&gt;</code></pre></div>How to do something for all chans with +flagname :<div class="codebox"><p>Code: </p><pre><code>foreach chan [channels] {if {[lsearch -exact [channel info $chan] +&lt;flagname&gt;] != -1} { .......(do this for all channels with +&lt;flagname&gt;.......}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Sun Feb 16, 2003 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-16T10:15:46-04:00</updated>

		<published>2003-02-16T10:15:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16652#p16652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16652#p16652"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16652#p16652"><![CDATA[
do you have an example or an help, i preffer dutch.<p>Statistics: Posted by Guest — Sun Feb 16, 2003 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-02-16T02:21:46-04:00</updated>

		<published>2003-02-16T02:21:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16650#p16650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16650#p16650"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16650#p16650"><![CDATA[
You could do it with a channel flag (see setudef) and then testing that flag in each proc, OR you could make a list of active channels and check to see if the channel the bind is executing for is in that list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Feb 16, 2003 2:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-15T22:43:15-04:00</updated>

		<published>2003-02-15T22:43:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16648#p16648</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16648#p16648"/>
		<title type="html"><![CDATA[Fun on seperated channels]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16648#p16648"><![CDATA[
How can i make that my fun works on different channels?<br>now my fun works on every channel my bot joins, how can i make my fun work on the channels i tell him to?<p>Statistics: Posted by Guest — Sat Feb 15, 2003 10:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
