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

	<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>2009-11-27T20:12:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-11-27T20:12:14-04:00</updated>

		<published>2009-11-27T20:12:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91107#p91107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91107#p91107"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91107#p91107"><![CDATA[
Thanks TCL_no_TK thats done all i wanted it to <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=10512">blake</a> — Fri Nov 27, 2009 8:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-27T18:45:40-04:00</updated>

		<published>2009-11-27T18:45:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91103#p91103</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91103#p91103"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91103#p91103"><![CDATA[
<blockquote class="uncited"><div>also it still messages the mainchan if their is an op on the helpchan</div></blockquote> Change <div class="codebox"><p>Code: </p><pre><code> set hops_opwait "10" </code></pre></div> to something higher than 10, this should fix this. <blockquote class="uncited"><div>how can i change it so everyone in the mainchan sees the notice not just ops</div></blockquote> Use this *version* Its still noticing the channel, but its not making it an Op notice (so normal users "can" be able to see it)<div class="codebox"><p>Code: </p><pre><code> #Settings # The Maxium Idle Time for a Channel Operator before excluding them # from the help channel notice (default is 170 about 2hrs) set hops_idletime "170"  # %nick == The nickname of the IRC User that joined the help channel # %chan == The name of the IRC Help channel # %host == The IRC user@Host Address for the IRC User that joined the help channel set hops_opmsg "*** %chan -- HelpOps(%nick): is requesting help!" #Script proc hops:join {nick host handle channel} {  global hops_opwait   if {(![isbotnick $nick]) &amp;&amp; ([channel get $channel hops-helpchan])} {    utimer $hops_opwait [list _hops:join $nick $host $handle $channel]    return   } } proc _hops:join {nick host handle channel} {  global hops_idletime hops_opmsg   if {([onchan $nick $channel]) &amp;&amp; (![isop $nick $channel]) &amp;&amp; (![ishalfop $nick $channel]) &amp;&amp; (![isvoice $nick $channel])} {    regsub -all "%nick" "$hops_opmsg" "$nick" opmsg    regsub -all "%chan" "$opmsg" "$channel" opmsg    regsub -all "%host" "$opmsg" "$host" opmsg     foreach mchan [channels] {      if {[channel get $mchan hops-mainchan]} {       puthelp "NOTICE $mchan :$opmsg"      }     }      return   } } proc hops:loaded {ver} {  global hops_idletime hops_opmsg   if {$hops_idletime == ""} {    set hops_idletime "170"    putlog "* hops.tcl: You have not given a vaild Channel Operator idle time, defaulting to '170'"   }   if {$hops_opmsg == ""} {    set hops_opmsg "*** %nick has the channel's help channel, Please join it to help them! Thank You"    putlog "* hops.tcl You have not given any hops_opmsg will be a default msg."   }   putlog "loaded hops.tcl version $ver by TCL_no_TK"   return } set hops_opwait "10" bind join -|- "* *" hops:join hops:loaded "1.0.1" setudef flag hops-mainchan setudef flag hops-helpchan</code></pre></div>  <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=8130">TCL_no_TK</a> — Fri Nov 27, 2009 6:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-11-27T09:22:44-04:00</updated>

		<published>2009-11-27T09:22:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91091#p91091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91091#p91091"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91091#p91091"><![CDATA[
Hey im also using this script works well but how can i change it so everyone in the mainchan sees the notice not just ops also it still messages the mainchan if their is an op on the helpchan<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Fri Nov 27, 2009 9:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-11T15:56:56-04:00</updated>

		<published>2009-11-11T15:56:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90876#p90876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90876#p90876"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90876#p90876"><![CDATA[
I cant seem to recreat or get this error, can you do the <strong class="text-strong">.set errorInfo</strong> from DCC/telnet?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Wed Nov 11, 2009 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2009-11-09T07:55:55-04:00</updated>

		<published>2009-11-09T07:55:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90855#p90855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90855#p90855"/>
		<title type="html"><![CDATA[thanks for replyin..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90855#p90855"><![CDATA[
after making those changes i got this error <br><br>[11:41] Tcl error in script for 'timer1104054':<br>[11:41] invalid command name " "<br><br>ill paste the whole tcl tht i changed after u told me to change the parts<br><br>#Settings <br><br># The Maxium Idle Time for a Channel Operator before excluding them <br># from the help channel notice (default is 170 about 2hrs) <br>set hops_idletime "170" <br> <br># %nick == The nickname of the IRC User that joined the help channel <br># %chan == The name of the IRC Help channel <br># %host == The IRC user@Host Address for the IRC User that joined the help channel <br>set hops_opmsg "HelpMsg" <br><br>#Script <br>proc hops:join {nick host handle channel} { <br> global hops_opwait <br> if {(![isbotnick $nick]) &amp;&amp; ([channel get $channel hops-helpchan])} { <br>  utimer $hops_opwait [list _hops:join $nick $host $handle $channel] <br>  return <br> } <br>} <br><br>proc _hops:join {nick host handle channel} { <br> global hops_idletime hops_opmsg <br> if {([onchan $nick $channel]) &amp;&amp; (![isop $nick $channel]) &amp;&amp; (![ishalfop $nick $channel]) &amp;&amp; (![isvoice $nick $channel])} { <br> regsub -all "%nick" "$hops_opmsg" "$nick" opmsg <br> regsub -all "%chan" "$opmsg" "$channel" opmsg <br> regsub -all "%host" "$opmsg" "$host" opmsg <br>foreach mchan [channels] { <br> if {[channel get $mchan hops-mainchan]} { <br> puthelp "NOTICE @$mchan :$opmsg" <br> } <br>} <br> return <br> } <br>} <br><br>proc hops:loaded {ver} { <br> global hops_idletime hops_opmsg <br>if {$hops_idletime == ""} { <br> set hops_idletime "170" <br> putlog "* hops.tcl: You have not given a vaild Channel Operator idle time, defaulting to '170'" <br>} <br>if {$hops_opmsg == ""} { <br> set hops_opmsg "*** %nick has the channel's help channel, Please join it to help them! Thank You" <br> putlog "* hops.tcl You have not given any hops_opmsg will be a default msg." <br>} <br>putlog "loaded hops.tcl version $ver by TCL_no_TK" <br> return <br>} <br><br>set hops_opwait "10" <br>bind join -|- "* *" hops:join <br>hops:loaded "1.0b" <br>setudef flag hops-mainchan <br>setudef flag hops-helpchan<br><br><br>Thanks for the time:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Mon Nov 09, 2009 7:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-08T11:40:30-04:00</updated>

		<published>2009-11-08T11:40:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90845#p90845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90845#p90845"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90845#p90845"><![CDATA[
without changing the hole thing, just change <div class="codebox"><p>Code: </p><pre><code>     foreach mchan [channels] {       if {[channel get $mchan hops-mainchan]} {        foreach onick [chanlist $mchan] {         if {[isop $onick $mchan]} {          if {[getchanidle "$onick" "$mchan"] &lt; $hops_idletime} {           puthelp "NOTICE $onick :$opmsg"          }         }        }       }      }</code></pre></div> to <div class="codebox"><p>Code: </p><pre><code>     foreach mchan [channels] {       if {[channel get $mchan hops-mainchan]} {        puthelp "NOTICE @$mchan :$opmsg"      }      }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Nov 08, 2009 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2009-11-08T02:33:01-04:00</updated>

		<published>2009-11-08T02:33:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90843#p90843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90843#p90843"/>
		<title type="html"><![CDATA[thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90843#p90843"><![CDATA[
no prob bro its working.. and its a nice tcl but i was jus wondering how if i jus want it to notice the main channel instead of noticing every active ops it jus send 1 op notice to the main channel.thanks for assisting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Sun Nov 08, 2009 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-07T14:39:05-04:00</updated>

		<published>2009-11-07T14:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90833#p90833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90833#p90833"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90833#p90833"><![CDATA[
can you post the output of <strong class="text-strong">.set errorInfo</strong> (dcc/telnet)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sat Nov 07, 2009 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2009-11-07T13:49:05-04:00</updated>

		<published>2009-11-07T13:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90832#p90832</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90832#p90832"/>
		<title type="html"><![CDATA[thanks for replyin..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90832#p90832"><![CDATA[
i have tried the followin tcl tht u have pasted and there is an error. [17:46] <br><br>Tcl error in script for 'timer825':<br>[17:46] wrong # args: no script following "{[getchanidle "$onick" "$mchan"] &lt; $hops_idletime}" argument<br><br>This is the error i get when a user join the help channel.it displays in the bot dcc chat. thanks <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=10110">gamble27</a> — Sat Nov 07, 2009 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-11-07T10:23:14-04:00</updated>

		<published>2009-11-07T10:23:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90829#p90829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90829#p90829"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90829#p90829"><![CDATA[
Use the following in DCC/Telnet with the bot<br>To Set the help channel Type:<blockquote class="uncited"><div>.channel set &lt;#irc-help-channel-name&gt; +hops-helpchan</div></blockquote>To Set the "Main" Channel (the channel were all active ops should be noticed about users joining the help channel) Type:<blockquote class="uncited"><div>.channel set &lt;#irc-main-channel-name&gt; +hops-mainchan</div></blockquote><div class="codebox"><p>Code: </p><pre><code> #Settings # The Maxium Idle Time for a Channel Operator before excluding them # from the help channel notice (default is 170 about 2hrs) set hops_idletime "170"  # %nick == The nickname of the IRC User that joined the help channel # %chan == The name of the IRC Help channel # %host == The IRC user@Host Address for the IRC User that joined the help channel set hops_opmsg "*** %chan -- HelpOps(%nick): is requesting help!" #Script proc hops:join {nick host handle channel} {  global hops_opwait   if {(![isbotnick $nick]) &amp;&amp; ([channel get $channel hops-helpchan])} {    utimer $hops_opwait [list _hops:join $nick $host $handle $channel]    return   } } proc _hops:join {nick host handle channel} {  global hops_idletime hops_opmsg   if {([onchan $nick $channel]) &amp;&amp; (![isop $nick $channel]) &amp;&amp; (![ishalfop $nick $channel]) &amp;&amp;       (![isvoice $nick $channel])} {    regsub -all "%nick" "$hops_opmsg" "$nick" opmsg    regsub -all "%chan" "$opmsg" "$channel" opmsg    regsub -all "%host" "$opmsg" "$host" opmsg     foreach mchan [channels] {      if {[channel get $mchan hops-mainchan]} {       foreach onick [chanlist $mchan] {        if {[isop $onick $mchan]} {         if {[getchanidle "$onick" "$mchan"] &lt; $hops_idletime} {          puthelp "NOTICE $onick :$opmsg"         }        }       }      }     }      return   } } proc hops:loaded {ver} {  global hops_idletime hops_opmsg   if {$hops_idletime == ""} {    set hops_idletime "170"    putlog "* hops.tcl: You have not given a vaild Channel Operator idle time, defaulting to '170'"   }   if {$hops_opmsg == ""} {    set hops_opmsg "*** %nick has the channel's help channel, Please join it to help them! Thank You"    putlog "* hops.tcl You have not given any hops_opmsg will be a default msg."   }    putlog "loaded hops.tcl version $ver by TCL_no_TK"   return } set hops_opwait "10" bind join -|- "* *" hops:join hops:loaded "1.0b" setudef flag hops-mainchan setudef flag hops-helpchan</code></pre></div> It should allow for a few main channels/help channels but will not be able to tell what channel has what help channel <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=8130">TCL_no_TK</a> — Sat Nov 07, 2009 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamble27]]></name></author>
		<updated>2009-11-07T05:57:34-04:00</updated>

		<published>2009-11-07T05:57:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90826#p90826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90826#p90826"/>
		<title type="html"><![CDATA[Notice Channel Ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90826#p90826"><![CDATA[
These days every channel has a help channel,basically what im looking for is the channel eggdrop auto notice channel ops in main channel when someone who is not opped join in the help channel.<br><br>So basically someone join #englandhelp <br><br>the eggdrop will auto notice #england ops in op notice <br><br>Ie notice #england Active Ops Plz Assist User in #englandhelp.<br><br><br>that is all.basically it will notify u that some1 is at the help channel for help.thanks,Help will be much appreciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10110">gamble27</a> — Sat Nov 07, 2009 5:57 am</p><hr />
]]></content>
	</entry>
	</feed>
