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

	<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>2007-05-24T16:37:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[xU]]></name></author>
		<updated>2007-05-24T16:07:03-04:00</updated>

		<published>2007-05-24T16:07:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72957#p72957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72957#p72957"/>
		<title type="html"><![CDATA[Gline if not in chans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72957#p72957"><![CDATA[
Hi  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <div class="codebox"><p>Code: </p><pre><code>set chans "#abuse #opers #ops #bots #irc"bind join - * gline:joinproc gline:join { nick host hand chan } {global chansif {([string match -nocase "*serv* $nick]) || ([isbotnick $nick])} {reutrn 0}foreach c $chans {if {([onchan $nick $c]) || ([info exists x])} {set x ok} else {continue}}if {(![info exists x])} {putquick "gline $nick 86400 :due to xdcc abuse!";putlog "glined $nick due to xdcc abuse!"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9018">xU</a> — Thu May 24, 2007 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-24T16:37:01-04:00</updated>

		<published>2007-05-08T07:25:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72605#p72605</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72605#p72605"/>
		<title type="html"><![CDATA[Gline if not in chans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72605#p72605"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * gline:checkproc gline:check {nick uhost hand chan} { if {[string match *Serv* $nick] || [isbotnick $nick]} {return 0} set onchans 1 foreach c {opers abuse ops bots irc} {  if {[onchan $nick #$c]} {continue}  set onchans 0  break } if {!$onchans} {  putserv "gline $nick 86400 :due to xdcc abuse!"  putlog "glined $nick due to xdcc abuse!" }}</code></pre></div>btw, the subject is still invalid please change it to something relevant (e.g. "gline if not on chans").<br><br>Edit: Added ':' in gline raw command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 08, 2007 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-06T08:19:39-04:00</updated>

		<published>2007-05-06T08:19:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72565#p72565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72565#p72565"/>
		<title type="html"><![CDATA[Gline if not in chans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72565#p72565"><![CDATA[
I suggest you change the topic and content of your post to an actual script request where you just state what you want your bot to do. Otherwise, this topic will be moved to the junk yard.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 06, 2007 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Daemon]]></name></author>
		<updated>2007-05-06T18:05:04-04:00</updated>

		<published>2007-05-06T06:20:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72558#p72558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72558#p72558"/>
		<title type="html"><![CDATA[Gline if not in chans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72558#p72558"><![CDATA[
Hello!<br><br>I hope anyone can help me to translate the following snippet to TCL ..<br><br>mIRC-Code<div class="codebox"><p>Code: </p><pre><code>on *:join:#test:{  if (*Serv* isin $nick) { halt }  if ($nick ison #abuse) { halt }  if ($nick ison #opers) { halt }  if ($nick ison #ops) { halt }  if ($nick ison #bots) { halt }  if ($nick ison #irc) { halt }  if ($nick == $me) { halt }  else {    .gline $nick 86400 due to xdcc abuse!  } }</code></pre></div>... OR ...<br><br>If a user that join the channel #test and is on #abuse / #opers / #ops / #bots or #irc, than NO gline.<br><br>If the user isn't on one (or more) of these channels, than gline.<br><br>I hope you know what I mean.<br><br>Excuse my bad English.<br><br>Thanks &amp; greets<br>Daemon<br><br><span style="color:red">Edit: Changed topic subject to clarify the request. (Sir_Fz)</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8926">Daemon</a> — Sun May 06, 2007 6:20 am</p><hr />
]]></content>
	</entry>
	</feed>
