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

	<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-06-23T19:30:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-23T19:30:29-04:00</updated>

		<published>2004-06-23T19:30:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37778#p37778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37778#p37778"/>
		<title type="html"><![CDATA[loops in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37778#p37778"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>alias op-brag {  var %i = 1, %loosers, %opchans, %1 = $iif($1,$1,$active), %totalnicks = 0  while ($chan(0)  &gt;= %i) {    inc %totalnicks $nick($chan(%i),0)    if ($me isop $chan(%i)) {      inc %opchans      var %loosers = $calc(%loosers + $nick($chan(%i),0,a) - 2)    }    inc %i  }  if (%opchans) {    msg %1 I am op'ed in %opchans channels of $chan(0) that's $round($calc((%opchans / $chan(0)) * 100),0) $+ % $+ , and can fool around with %loosers loosers of %totalnicks that's $round($calc((%loosers / %totalnicks) * 100),0)) $+ %  }  else {    msg %1 Im not op'ed in any channels! :(  }}</code></pre></div>Here's my script in mIRC, how do i make it tcl ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Wed Jun 23, 2004 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-23T19:17:30-04:00</updated>

		<published>2004-06-23T19:17:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37777#p37777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37777#p37777"/>
		<title type="html"><![CDATA[loops in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37777#p37777"><![CDATA[
well i'm more of a mirc script guy, but i'm learning TCL, i've been trying to get experienced with loops, you know for example, if i type `chans my bot replies, with all the chans he's in, and whether he's oped/voiced in these chans showing @ or + in front of that chan. I have no idea on how to start such script, any hint are appreciated, unless you wanna do the script <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=4261">DarkJFMan</a> — Wed Jun 23, 2004 7:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
