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

	<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-08-03T07:13:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-08-03T07:13:16-04:00</updated>

		<published>2004-08-03T07:13:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39419#p39419</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39419#p39419"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39419#p39419"><![CDATA[
Thanks alot! <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=4964">WeiJie</a> — Tue Aug 03, 2004 7:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-02T21:11:23-04:00</updated>

		<published>2004-08-02T21:11:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39392#p39392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39392#p39392"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39392#p39392"><![CDATA[
You should check this.<br><blockquote class="uncited"><div># aop-delay (minimum:maximum)<br># This is used for autoop, autohalfop, autovoice. If an op or voice joins a<br># channel while another op or voice is pending, the bot will attempt to put<br># both modes on one line.<br>#   aop-delay 0   No delay is used.<br>#   aop-delay X   An X second delay is used.<br>#   aop-delay X:Y A random delay between X and Y is used.</div></blockquote>IN PARTYLINE (DCC with the bot): (you can try one of these)<div class="codebox"><p>Code: </p><pre><code>.chanset &lt;#channel&gt; aop-delay 0.chanset &lt;#channel&gt; aop-delay 5.chanset &lt;#channel&gt; aop-delay 5:10</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Aug 02, 2004 9:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-08-02T10:20:49-04:00</updated>

		<published>2004-08-02T10:20:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39368#p39368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39368#p39368"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39368#p39368"><![CDATA[
There's a timed delay to allow ChanServ to perform the function first.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Aug 02, 2004 10:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-08-02T07:53:53-04:00</updated>

		<published>2004-08-02T07:53:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39363#p39363</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39363#p39363"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39363#p39363"><![CDATA[
Tried the PARTYLINE method and it doesn't seems to work for me...<br>Wonder where does the problem lies at... This is what I did:<br><br>1) Add a user (.+user)<br>2) +o flag to that user<br>3) Add host (.+host *!*@*.com.sg)<br>4) Set the channel to autoop (.chanset # +autoop)<br><br>But when a *!*@*.com.sg user joined, it doesn't op them.<br>Why?<br><blockquote class="uncited"><div>Na... this is the main piece of code you will be using for the script.<br>If I had time I would have completed it, though.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>IN PARTYLINE:<br>Alternatively, how about adding *!*@*.com.sg with a +o flag.<br>Say make another user id, give it flag +o, and .+host (add hosts)<br>as many as you like.<br><br>This will use the bots internal autoop mechanism. The channels to<br>enable autoop on, set them to +autoop.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Mon Aug 02, 2004 7:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-08-02T07:11:32-04:00</updated>

		<published>2004-08-02T07:11:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39362#p39362</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39362#p39362"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39362#p39362"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><blockquote class="uncited"><div>why do we always have to make it complicated... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Mon Aug 02, 2004 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-08-02T06:52:31-04:00</updated>

		<published>2004-08-02T06:52:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39361#p39361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39361#p39361"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39361#p39361"><![CDATA[
why do we always have to make it complicated... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Mon Aug 02, 2004 6:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-02T05:57:20-04:00</updated>

		<published>2004-08-02T05:57:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39359#p39359</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39359#p39359"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39359#p39359"><![CDATA[
For that, set a variable to a list of channels you would like the script to work on. Use lsearch to check if it matches any of the channels, if it does go ahead do your stuff, otherwise halt.  <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=4875">awyeah</a> — Mon Aug 02, 2004 5:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-08-02T05:54:54-04:00</updated>

		<published>2004-08-02T05:54:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39358#p39358</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39358#p39358"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39358#p39358"><![CDATA[
Oh ok, but what if i want the tcl to work only on some particular channels?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Mon Aug 02, 2004 5:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-02T05:51:48-04:00</updated>

		<published>2004-08-02T05:51:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39357#p39357</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39357#p39357"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39357#p39357"><![CDATA[
Na... this is the main piece of code you will be using for the script.<br>If I had time I would have completed it, though.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><br><br>IN PARTYLINE:<br>Alternatively, how about adding *!*@*.com.sg with a +o flag.<br>Say make another user id, give it flag +o, and .+host (add hosts)<br>as many as you like.<br><br>This will use the bots internal autoop mechanism. The channels to<br>enable autoop on, set them to +autoop.  <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=4875">awyeah</a> — Mon Aug 02, 2004 5:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-08-02T05:47:00-04:00</updated>

		<published>2004-08-02T05:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39355#p39355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39355#p39355"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39355#p39355"><![CDATA[
Hi<br>1) Is this a TCL coding?<br>2) If i place this coding in .tcl, will it works and auto-op *.com.sg and *.egghelp.org?<br><br>Sorry, i dunno anything about coding stuffs regarding tcl... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><blockquote class="uncited"><div>Okay.... You can do either one of the stuff here I mentioned. <br><div class="codebox"><p>Code: </p><pre><code>#Set the IPS to matchset ipsmatch {"*.com.sg""*.egghelp.org"}proc name {nick uhost ........} { global ipsmatch    foreach ipmatch [string tolower ipsmatch] {    if {([string equal -nocase $ipmatch [lindex [split [maskhost $uhost] "@"] 1]])} {    #do stuff here#Or, alternatively you can make a listset ipsmatch "com.sg egghelp.org elite.com"#And do a list search, and check if the ip matches:if {([lsearch -exact [split [string tolower $ipsmatch]] [string tolower [lindex [split [maskhost $uhost] "@"] 1]]] != -1)} { </code></pre></div></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Mon Aug 02, 2004 5:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-01T23:12:10-04:00</updated>

		<published>2004-08-01T23:12:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39344#p39344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39344#p39344"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39344#p39344"><![CDATA[
Okay.... You can do either one of the stuff here I mentioned. <br><div class="codebox"><p>Code: </p><pre><code>#Set the IPS to matchset ipsmatch {"*.com.sg""*.egghelp.org"}proc name {nick uhost ........} { global ipsmatch    foreach ipmatch [string tolower ipsmatch] {    if {([string equal -nocase $ipmatch [lindex [split [maskhost $uhost] "@"] 1]])} {    #do stuff here#Or, alternatively you can make a listset ipsmatch "com.sg egghelp.org elite.com"#And do a list search, and check if the ip matches:if {([lsearch -exact [split [string tolower $ipsmatch]] [string tolower [lindex [split [maskhost $uhost] "@"] 1]]] != -1)} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Aug 01, 2004 11:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-01T21:24:23-04:00</updated>

		<published>2004-08-01T21:24:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39334#p39334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39334#p39334"/>
		<title type="html"><![CDATA[Re: All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39334#p39334"><![CDATA[
You're looking for the docs? .help +user &amp; .help whois &amp; .help chattr &amp; .help +host (add a user with the autoop flag + the hosts you want autooped)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Aug 01, 2004 9:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WeiJie]]></name></author>
		<updated>2004-07-31T13:30:01-04:00</updated>

		<published>2004-07-31T13:30:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39289#p39289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39289#p39289"/>
		<title type="html"><![CDATA[All Op Tcl (Need Help)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39289#p39289"><![CDATA[
Hi guys,<br><br>I'm looking for this particular which ops all users in a particular channel <strong class="text-strong">BUT</strong> only current IP... Like...<br><br>*!*@.*.com.sg<br>*!*@.*.egghelp.org<br><br>And not op other users with another ISP/Domain hostmask...<br>Anyone have it? Or any solutions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4964">WeiJie</a> — Sat Jul 31, 2004 1:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
