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

	<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-03-12T14:01:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-12T14:01:32-04:00</updated>

		<published>2004-03-12T14:01:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34519#p34519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34519#p34519"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34519#p34519"><![CDATA[
Thanks mate, it works <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=4669">Real</a> — Fri Mar 12, 2004 2:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-03-11T15:25:38-04:00</updated>

		<published>2004-03-11T15:25:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34483#p34483</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34483#p34483"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34483#p34483"><![CDATA[
This should work .. but not tested it yet altho i don't realy see the point of sutch script .....  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> <br><div class="codebox"><p>Code: </p><pre><code>bind pub - !admin pub:adminset mychan "#telenet.to"proc pub:admin {nick host hand chan arg} {  global mychan   if {[string match -nocase $mychan $chan]} {     foreach user [chanlist $chan] {      if {[isop $user $chan]} {        if {[info exists list]} {          append list " $user"        } else {          set list "$user"        }              }     }    putserv "PRIVMSG $chan :\0034$list -- \0037Admin needed! \00310Reason: [lrange $arg 0 end]"  } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Mar 11, 2004 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-11T14:54:28-04:00</updated>

		<published>2004-03-11T14:54:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34482#p34482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34482#p34482"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34482#p34482"><![CDATA[
It doesn't on mine :/<br><br>Can somebody see what's wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Thu Mar 11, 2004 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-11T13:09:26-04:00</updated>

		<published>2004-03-11T13:09:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34466#p34466</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34466#p34466"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34466#p34466"><![CDATA[
<blockquote class="uncited"><div>I think you should have read my previous post. Do you mean 'pub'</div></blockquote>It worked on my eggdrop with the bind pubm.... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Thu Mar 11, 2004 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-03-11T12:58:16-04:00</updated>

		<published>2004-03-11T12:58:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34463#p34463</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34463#p34463"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34463#p34463"><![CDATA[
<blockquote class="uncited"><div>lol, and i thought you removed it:P<br>I think this code will worked:<div class="codebox"><p>Code: </p><pre><code>bind pubm - !admin pub:admin...</code></pre></div></div></blockquote>I think you should have read my previous post. Do you mean 'pub'?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Mar 11, 2004 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-11T11:51:59-04:00</updated>

		<published>2004-03-11T11:51:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34459#p34459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34459#p34459"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34459#p34459"><![CDATA[
lol, and i thought you removed it:P<br>I think this code will worked:<div class="codebox"><p>Code: </p><pre><code>bind pubm - !admin pub:admin proc pub:admin {nick host hand chan args} {   if {$chan == "#telenet.to"]} {     set list ""     foreach nick2 [chanlist $chan] {       if {[isop $nick2 $chan]} {         append list " $nick2"       }     }     putserv "PRIVMSG $chan :\0034$list -- \0037Admin needed! \00310Reason: [lrange $args 1 end]"   } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Thu Mar 11, 2004 11:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-11T11:48:41-04:00</updated>

		<published>2004-03-11T11:48:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34458#p34458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34458#p34458"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34458#p34458"><![CDATA[
I forgot to paste it, it's in my TCL script though :p<br><br>And it doesnt work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Thu Mar 11, 2004 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-11T11:43:26-04:00</updated>

		<published>2004-03-11T11:43:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34457#p34457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34457#p34457"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34457#p34457"><![CDATA[
Where's the bind gone?:)<br>Add this bind to your script:<div class="codebox"><p>Code: </p><pre><code>bind pubm - !admin pub:admin</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Thu Mar 11, 2004 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-11T11:47:35-04:00</updated>

		<published>2004-03-11T11:40:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34456#p34456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34456#p34456"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34456#p34456"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "!admin *" pub:adminproc pub:admin {nick host hand chan args} { if {[string equal -nocase $chan "#telenet.to"]} {   set list ""   foreach nick2 [chanlist $chan] {     if {[isop $nick2 $chan]} {       append list " $nick2"     }   }   putserv "PRIVMSG $chan :\0034$list -- \0037Admin needed! \00310Reason: [lrange $args 1 end]" } }</code></pre></div>Can somebody then tell me why this doesn't work?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"> Thanks<br><br>Doesn't it have to be "bind pub" instead of "bind pubm" ?<br><br>And {nick mask hand channel args} instead of {nick host hand chan args} ?<br><br>Just guessing a bit <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=4669">Real</a> — Thu Mar 11, 2004 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-03-10T13:26:54-04:00</updated>

		<published>2004-03-10T13:26:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34417#p34417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34417#p34417"/>
		<title type="html"><![CDATA[RTFM!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34417#p34417"><![CDATA[
<blockquote class="uncited"><div>bind pubm - "!admin *" pub:admin</div></blockquote><blockquote class="uncited"><div>bind pubm - "!admin *" pub:admin</div></blockquote>doc/tcl-commands.doc - bind pubm<blockquote class="uncited"><div>The mask is matched against the channel name followed by the text </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Mar 10, 2004 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Careto]]></name></author>
		<updated>2004-03-09T15:10:01-04:00</updated>

		<published>2004-03-09T15:10:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34390#p34390</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34390#p34390"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34390#p34390"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "!admin *" pub:admin proc pub:admin {nick host hand chan args} { if {[string equal -nocase $chan "#anychannel"]} {  set list ""   foreach nick2 [chanlist $chan] {     if {[isop $nick2 $chan]} {       append list " $nick2"     }   }   putserv "PRIVMSG $chan :4$list -- 7Admin needed! 10Reason: [lrange $args 1 end]" } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4642">Careto</a> — Tue Mar 09, 2004 3:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-09T13:15:10-04:00</updated>

		<published>2004-03-09T13:15:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34388#p34388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34388#p34388"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34388#p34388"><![CDATA[
Thanks very much, I can't test it now, since the person who can update the eggdrop is offline.<br><br>One more question though, can you change it so that it only works on 1 channel? <br>Thank you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Tue Mar 09, 2004 1:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-09T07:24:39-04:00</updated>

		<published>2004-03-09T07:24:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34378#p34378</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34378#p34378"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34378#p34378"><![CDATA[
Try this code:<div class="codebox"><p>Code: </p><pre><code>bind pubm - "!admin *" pub:adminproc pub:admin {nick host hand chan args} {  set list ""  foreach nick2 [chanlist $chan] {    if {[isop $nick2 $chan]} {      append list " $nick2"    }  }  putserv "PRIVMSG $chan :4$list -- 7Admin needed! 10Reason: [lrange $args 1 end]"}</code></pre></div>I think it should work, but i didn't test it.<br>Hope it helps <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Tue Mar 09, 2004 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-08T17:26:03-04:00</updated>

		<published>2004-03-08T17:26:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34368#p34368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34368#p34368"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34368#p34368"><![CDATA[
ok so my first problem is solved, but there's still the !admin problem, and I think this one's really hard.<br><br>Can anyone help me with this please? :-/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Mon Mar 08, 2004 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-03-08T11:43:33-04:00</updated>

		<published>2004-03-08T11:43:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34362#p34362</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34362#p34362"/>
		<title type="html"><![CDATA[Some fairly easy TCL questions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34362#p34362"><![CDATA[
Hello,<br><br>I can use a shell of a friend of mine to put my irc bot on. But I don't know anything about TCL scripts, so I'm going to ask some help here <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>EDIT: *first problem solved*<br><br>Next, there's the !admin command. Everybody can use the !admin &lt;reason&gt; command. This will highlight every op on the channel, and give them to reason. <br>Example:<br><br><strong class="text-strong">PersonA: !admin Just testing.<br>Eggbot: Op1 , Op2 , Op3 Message: Just testing.</strong><br><br>I have this in my irc script already, but I have no idea how to write it in TCL, if it's even possible.<br>The irc script is:<div class="codebox"><p>Code: </p><pre><code>on 1:TEXT:!admin *:#here:{  set %i 1   set %list $null   :next   set %nick $nick(#,%i,o)   if %nick == $null goto done   %lijst = %list $chr(32) $+ %nick   inc %i   goto next   :done   /msg $chan 4 $+ %list -- 7Admin needed! 10Reason: $2-}</code></pre></div><br>Please help <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=4669">Real</a> — Mon Mar 08, 2004 11:43 am</p><hr />
]]></content>
	</entry>
	</feed>
