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

	<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>2004-05-02T15:22:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-02T15:22:05-04:00</updated>

		<published>2004-05-02T15:22:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36042#p36042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36042#p36042"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36042#p36042"><![CDATA[
Thanks I got, the script with the proc cleanarg working in<br>good and fine condition.<br><br>The channel add, remove both are working fine, I can execute<br>them in private query with the bot which is easier when DCC sucks<br>as well as on public channels.<br><br>Althought I had to put it in the first file of my tcls in the first<br>line, in between it was causing troubles, maybe clashing with<br>the others or I don't know what.<br><br>Thanks again, everyone!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun May 02, 2004 3:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-05-01T18:40:05-04:00</updated>

		<published>2004-05-01T18:40:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36018#p36018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36018#p36018"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36018#p36018"><![CDATA[
changing the variable name (args) would make it even easier. Read about 'args' here: <a href="http://tcl.tk/man/tcl8.5/TclCmd/proc.htm" class="postlink">http://tcl.tk/man/tcl8.5/TclCmd/proc.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat May 01, 2004 6:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-01T11:56:15-04:00</updated>

		<published>2004-05-01T11:56:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36012#p36012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36012#p36012"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36012#p36012"><![CDATA[
By the way I found a proc of cleanarg some where on the web for eggdrops.<br><br>This is would be it, I suppose guys??<br><blockquote class="uncited"><div>proc cleanarg {arg} {<br>  set response ""<br>  for {set i 0} {$i &lt; [string length $arg]} {incr i} {<br>    set char [string index $arg $i]<br>    if {($char != "\12") &amp;&amp; ($char != "\15")} {<br>      append response $char<br>    }<br>  }<br>  return $response<br>}<br></div></blockquote>But why do we need to use this complicated process??<br><br>OR<br><br>This line below cannot do the same work, in a less complicated way?<br><br>channel add [lindex $arg 0]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat May 01, 2004 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-05-01T10:48:51-04:00</updated>

		<published>2004-05-01T10:48:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36007#p36007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36007#p36007"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36007#p36007"><![CDATA[
Thanks for your help everyone.<br>I appreciate it.<br><br>I'll try to use the ones you people have given in your replies and try to work them out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat May 01, 2004 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-04-29T16:20:46-04:00</updated>

		<published>2004-04-29T16:20:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35976#p35976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35976#p35976"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35976#p35976"><![CDATA[
I think he wanted to make<br><div class="codebox"><p>Code: </p><pre><code>set args [split [cleanarg $args]]</code></pre></div>But he did wrong  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Apr 29, 2004 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-04-29T13:44:52-04:00</updated>

		<published>2004-04-29T13:44:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35973#p35973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35973#p35973"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35973#p35973"><![CDATA[
Not to mention there is no "notice" command provided by eggdrop by default.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Apr 29, 2004 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-29T06:31:20-04:00</updated>

		<published>2004-04-29T06:31:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35957#p35957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35957#p35957"/>
		<title type="html"><![CDATA[Re: a simpele tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35957#p35957"><![CDATA[
wtf is 'cleanarg'? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> Try reading the manual page for '<a href="http://tcl.tk/man/tcl8.5/TclCmd/proc.htm" class="postlink">proc</a>' and pay extra close attention to the part about 'args'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Apr 29, 2004 6:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[K]]></name></author>
		<updated>2004-04-29T05:12:04-04:00</updated>

		<published>2004-04-29T05:12:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35953#p35953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35953#p35953"/>
		<title type="html"><![CDATA[a simpele tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35953#p35953"><![CDATA[
Very simple<div class="codebox"><p>Code: </p><pre><code>bind pub m .+chan pub:+chanbind pub m .-chan pub:-chan#partproc pub:-chan {nick uhost hand chan args} {        set args [cleanarg $args]        if {[llength $args]&lt;1} {                notice $nick "Usage: .-chan &lt;#channel&gt;"                return 0        }        channel remove $args}#joinproc pub:+chan {nick uhost hand chan args} {        set args [cleanarg $args]        if {[llength $args]&lt;1} {                notice $nick "Usage: .+chan &lt;#channel&gt;"                return 0        }        channel add $args {+greet -bitch -autoop -bitch -stopnethack}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4489">K</a> — Thu Apr 29, 2004 5:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-26T09:35:21-04:00</updated>

		<published>2004-04-26T09:35:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35846#p35846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35846#p35846"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35846#p35846"><![CDATA[
could u post what u made ? or tryed .. (script)<br><br>simple example <br><div class="codebox"><p>Code: </p><pre><code>bind pub n !join join:pubproc join:pub {nick host hand chan arg} {  channel add [lindex $arg 0]  putserv "PRIVMSG $chan :Bot is joining \(\002[lindex $arg 0]\002\)."}</code></pre></div>check ur help dir and read the docu look for channel add channel del channel..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Apr 26, 2004 9:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-04-26T03:11:09-04:00</updated>

		<published>2004-04-26T03:11:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35834#p35834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35834#p35834"/>
		<title type="html"><![CDATA[Public Channel Join Command Script for eggdrop!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35834#p35834"><![CDATA[
Hello,<br><br>I have made a PUBLIC CHANNEL JOIN COMMAND<br>for eggdrops like as the .+chan #channel command<br>in DCC and also a channel remover command in<br>PUBLIC CHANNEL MSG as the .-chan #channel command<br>in DCC.<br><br>I don't know why they aren't working.<br>I've found many scripts on <a href="http://www.tclscript.com" class="postlink">www.tclscript.com</a><br>which have these and I tried almost all and they<br>don't work. I dont know why!<br><br>I just want to type .+chan #anychann on my chan<br>and want my bot to add that channel in the chan bot<br>list bot.chan and join that channel and do the same for<br>.-chan to remove the channel from the bot.chan file<br>and the list.<br><br>I can't get it to work unfortunately.<br>Some one was saying you need to unbind the .+chan<br>join DCC command first then bind it? or what.<br><br>Even suppose I can change the trigger, it doesnt really<br>need to bind on .+chan, it can be !addchan or !chanadd<br>and !delchan or !chandel. But I've tried almost likely every<br>possible combination and they still don't seem to work.<br><br>Please help me, kthx.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Apr 26, 2004 3:11 am</p><hr />
]]></content>
	</entry>
	</feed>
