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

	<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>2005-08-31T13:14:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Decl]]></name></author>
		<updated>2005-08-31T13:14:24-04:00</updated>

		<published>2005-08-31T13:14:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55104#p55104</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55104#p55104"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55104#p55104"><![CDATA[
It doesn't work by some reason.. :f Any more suggestions ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6476">Decl</a> — Wed Aug 31, 2005 1:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-31T08:26:59-04:00</updated>

		<published>2005-08-31T08:26:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55089#p55089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55089#p55089"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55089#p55089"><![CDATA[
Probably not the best way to do it, load the same script with different commands and different channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Aug 31, 2005 8:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Decl]]></name></author>
		<updated>2005-08-31T05:02:57-04:00</updated>

		<published>2005-08-31T05:02:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55087#p55087</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55087#p55087"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55087#p55087"><![CDATA[
Another question. If I want the commands work on 2 channels ?<br>In clan case, two different priv channels, so different commands on them.. How to do so that #chan1 and #chan2 would have different commands ? But ONLY these two channels.. ? :f<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6476">Decl</a> — Wed Aug 31, 2005 5:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Decl]]></name></author>
		<updated>2005-07-18T02:15:43-04:00</updated>

		<published>2005-07-18T02:15:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52761#p52761</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52761#p52761"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52761#p52761"><![CDATA[
Thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> Works perfectly... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6476">Decl</a> — Mon Jul 18, 2005 2:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-17T13:58:00-04:00</updated>

		<published>2005-07-17T13:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52700#p52700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52700#p52700"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52700#p52700"><![CDATA[
heh I may of been faster but your way is more usefull in the long run so I would suggest to you decl that you use Sir_Fz's code as it supports multiple channels rather than my way which only supports 1 channel. <br><br>Future Proofing is the way to go baby yeahhhh <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=3723">^DooM^</a> — Sun Jul 17, 2005 1:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-17T13:51:04-04:00</updated>

		<published>2005-07-17T13:51:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52698#p52698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52698#p52698"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52698#p52698"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set clanchans "#chan1 #chan2 #chan3"# and inside the proc add:if {[lsearch -exact [string tolower $::clanchans] [string tolower $chan]] == -1} { return 0 }</code></pre></div>Edit: ^DooM^ was faster <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=3085">Sir_Fz</a> — Sun Jul 17, 2005 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-17T13:49:12-04:00</updated>

		<published>2005-07-17T13:49:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52697#p52697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52697#p52697"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52697#p52697"><![CDATA[
Add an if statement to it.<div class="codebox"><p>Code: </p><pre><code>set clanchan "#clanchan"if { [string tolower $chan] != [string tolower $clanchan] } {    return} else {    ... do the rest of the code ...}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sun Jul 17, 2005 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Decl]]></name></author>
		<updated>2005-07-17T13:30:55-04:00</updated>

		<published>2005-07-17T13:30:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52695#p52695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52695#p52695"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52695#p52695"><![CDATA[
But how to make these commands work only on some specific channels ? For example at clan's private channel only, not the other channels this bot is on ???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6476">Decl</a> — Sun Jul 17, 2005 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-06T18:08:51-04:00</updated>

		<published>2005-06-06T18:08:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50345#p50345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50345#p50345"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50345#p50345"><![CDATA[
Ooooooops my bad. change '<em class="text-italics">pub</em>' to '<em class="text-italics">pubm</em>'  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Mon Jun 06, 2005 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Magma]]></name></author>
		<updated>2005-06-06T18:02:50-04:00</updated>

		<published>2005-06-06T18:02:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50343#p50343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50343#p50343"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50343#p50343"><![CDATA[
<blockquote class="uncited"><div>not odd at all considering that the pub bind doesnt support wildcards  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote>so I have to bind each command then...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6312">Magma</a> — Mon Jun 06, 2005 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2005-06-06T17:43:34-04:00</updated>

		<published>2005-06-06T17:43:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50342#p50342</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50342#p50342"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50342#p50342"><![CDATA[
not odd at all considering that the pub bind doesnt support wildcards  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon Jun 06, 2005 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-06T16:55:12-04:00</updated>

		<published>2005-06-06T16:55:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50336#p50336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50336#p50336"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50336#p50336"><![CDATA[
Hmm odd. ok try it this way<div class="codebox"><p>Code: </p><pre><code>bind pub - * triggersproc triggers {nick uhost hand chan arg} {    set trigger [lindex [split $arg] 0]    set command [string tolower $trigger]    switch -- $command {        "!url" {            putserv "NOTICE $nick :Visit us at http://11th-wolverines.net"        }        "!contact" {            putserv "NOTICE $nick :Contact us through our public forums http://11thwolverines.forumsplace.com "        }        "!forums" {            putserv "NOTICE $nick :Check out our forums at http://11thwolverines.forumsplace.com"        }        "!staff" {            putserv "NOTICE $nick :Staff List is incomplete at this time"        }        "!help" {            putserv "NOTICE $nick :Commands for the bot are !url, !contact, !forums, !staff"        }        default {            putserv "NOTICE $nick :Unknown command: $trigger"        }    }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Mon Jun 06, 2005 4:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Magma]]></name></author>
		<updated>2005-06-06T16:12:46-04:00</updated>

		<published>2005-06-06T16:12:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50334#p50334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50334#p50334"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50334#p50334"><![CDATA[
hmm added a bracket but i tried the commands in IRC and it wont work.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - * triggers proc triggers {nick uhost hand chan arg} {     set trigger [lindex [split $arg] 0]         switch -exact -- [string tolower $trigger] {         "!url" {             putserv "NOTICE $nick :Visit us at http://11th-wolverines.net"         }         "!contact" {             putserv "NOTICE $nick :Contact us through our public forums http://11thwolverines.forumsplace.com "         }         "!forums" {             putserv "NOTICE $nick :Check out our forums at http://11thwolverines.forumsplace.com"         }         "!staff" {             putserv "NOTICE $nick :Staff List is incomplete at this time"         }         "!help" {             putserv "NOTICE $nick :Commands for the bot are !url, !contact, !forums, !staff"         }         default {             putserv "NOTICE $nick :Unknown command: $trigger"         }     } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6312">Magma</a> — Mon Jun 06, 2005 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-06T14:05:40-04:00</updated>

		<published>2005-06-06T14:05:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50312#p50312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50312#p50312"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50312#p50312"><![CDATA[
you are missing a close-brace. Paste your trigger script in here so i can see it please <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=3723">^DooM^</a> — Mon Jun 06, 2005 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Magma]]></name></author>
		<updated>2005-06-06T13:39:24-04:00</updated>

		<published>2005-06-06T13:39:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50308#p50308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50308#p50308"/>
		<title type="html"><![CDATA[Clan Script if possible...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50308#p50308"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[13:36] Tcl error in file '11wpao.conf':[13:36] missing close-brace    while executing"proc triggers {nick uhost hand chan arg} {    set trigger [lindex [split $arg] 0]    switch -exact -- [string tolower $trigger] {        "!..."    (file "scripts/paocommand.tcl" line 3)    invoked from within"source scripts/paocommand.tcl"    (file "11wpao.conf" line 1338)[13:36] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)Connection closed by foreign host.</code></pre></div>what did I do wrong :s<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6312">Magma</a> — Mon Jun 06, 2005 1:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
